pub use crate::operation::update_exadb_vm_cluster::_update_exadb_vm_cluster_input::UpdateExadbVmClusterInputBuilder;
pub use crate::operation::update_exadb_vm_cluster::_update_exadb_vm_cluster_output::UpdateExadbVmClusterOutputBuilder;
impl crate::operation::update_exadb_vm_cluster::builders::UpdateExadbVmClusterInputBuilder {
pub async fn send_with(
self,
client: &crate::Client,
) -> ::std::result::Result<
crate::operation::update_exadb_vm_cluster::UpdateExadbVmClusterOutput,
::aws_smithy_runtime_api::client::result::SdkError<
crate::operation::update_exadb_vm_cluster::UpdateExadbVmClusterError,
::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
>,
> {
let mut fluent_builder = client.update_exadb_vm_cluster();
fluent_builder.inner = self;
fluent_builder.send().await
}
}
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
pub struct UpdateExadbVmClusterFluentBuilder {
handle: ::std::sync::Arc<crate::client::Handle>,
inner: crate::operation::update_exadb_vm_cluster::builders::UpdateExadbVmClusterInputBuilder,
config_override: ::std::option::Option<crate::config::Builder>,
}
impl
crate::client::customize::internal::CustomizableSend<
crate::operation::update_exadb_vm_cluster::UpdateExadbVmClusterOutput,
crate::operation::update_exadb_vm_cluster::UpdateExadbVmClusterError,
> for UpdateExadbVmClusterFluentBuilder
{
fn send(
self,
config_override: crate::config::Builder,
) -> crate::client::customize::internal::BoxFuture<
crate::client::customize::internal::SendResult<
crate::operation::update_exadb_vm_cluster::UpdateExadbVmClusterOutput,
crate::operation::update_exadb_vm_cluster::UpdateExadbVmClusterError,
>,
> {
::std::boxed::Box::pin(async move { self.config_override(config_override).send().await })
}
}
impl UpdateExadbVmClusterFluentBuilder {
pub(crate) fn new(handle: ::std::sync::Arc<crate::client::Handle>) -> Self {
Self {
handle,
inner: ::std::default::Default::default(),
config_override: ::std::option::Option::None,
}
}
pub fn as_input(&self) -> &crate::operation::update_exadb_vm_cluster::builders::UpdateExadbVmClusterInputBuilder {
&self.inner
}
pub async fn send(
self,
) -> ::std::result::Result<
crate::operation::update_exadb_vm_cluster::UpdateExadbVmClusterOutput,
::aws_smithy_runtime_api::client::result::SdkError<
crate::operation::update_exadb_vm_cluster::UpdateExadbVmClusterError,
::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
>,
> {
let input = self
.inner
.build()
.map_err(::aws_smithy_runtime_api::client::result::SdkError::construction_failure)?;
let runtime_plugins = crate::operation::update_exadb_vm_cluster::UpdateExadbVmCluster::operation_runtime_plugins(
self.handle.runtime_plugins.clone(),
&self.handle.conf,
self.config_override,
);
crate::operation::update_exadb_vm_cluster::UpdateExadbVmCluster::orchestrate(&runtime_plugins, input).await
}
pub fn customize(
self,
) -> crate::client::customize::CustomizableOperation<
crate::operation::update_exadb_vm_cluster::UpdateExadbVmClusterOutput,
crate::operation::update_exadb_vm_cluster::UpdateExadbVmClusterError,
Self,
> {
crate::client::customize::CustomizableOperation::new(self)
}
pub(crate) fn config_override(mut self, config_override: impl ::std::convert::Into<crate::config::Builder>) -> Self {
self.set_config_override(::std::option::Option::Some(config_override.into()));
self
}
pub(crate) fn set_config_override(&mut self, config_override: ::std::option::Option<crate::config::Builder>) -> &mut Self {
self.config_override = config_override;
self
}
pub fn exadb_vm_cluster_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.inner = self.inner.exadb_vm_cluster_id(input.into());
self
}
pub fn set_exadb_vm_cluster_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.inner = self.inner.set_exadb_vm_cluster_id(input);
self
}
pub fn get_exadb_vm_cluster_id(&self) -> &::std::option::Option<::std::string::String> {
self.inner.get_exadb_vm_cluster_id()
}
pub fn data_collection_options(mut self, input: crate::types::DataCollectionOptions) -> Self {
self.inner = self.inner.data_collection_options(input);
self
}
pub fn set_data_collection_options(mut self, input: ::std::option::Option<crate::types::DataCollectionOptions>) -> Self {
self.inner = self.inner.set_data_collection_options(input);
self
}
pub fn get_data_collection_options(&self) -> &::std::option::Option<crate::types::DataCollectionOptions> {
self.inner.get_data_collection_options()
}
pub fn display_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.inner = self.inner.display_name(input.into());
self
}
pub fn set_display_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.inner = self.inner.set_display_name(input);
self
}
pub fn get_display_name(&self) -> &::std::option::Option<::std::string::String> {
self.inner.get_display_name()
}
pub fn enabled_ecpu_count(mut self, input: i32) -> Self {
self.inner = self.inner.enabled_ecpu_count(input);
self
}
pub fn set_enabled_ecpu_count(mut self, input: ::std::option::Option<i32>) -> Self {
self.inner = self.inner.set_enabled_ecpu_count(input);
self
}
pub fn get_enabled_ecpu_count(&self) -> &::std::option::Option<i32> {
self.inner.get_enabled_ecpu_count()
}
pub fn grid_image_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.inner = self.inner.grid_image_id(input.into());
self
}
pub fn set_grid_image_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.inner = self.inner.set_grid_image_id(input);
self
}
pub fn get_grid_image_id(&self) -> &::std::option::Option<::std::string::String> {
self.inner.get_grid_image_id()
}
pub fn license_model(mut self, input: crate::types::LicenseModel) -> Self {
self.inner = self.inner.license_model(input);
self
}
pub fn set_license_model(mut self, input: ::std::option::Option<crate::types::LicenseModel>) -> Self {
self.inner = self.inner.set_license_model(input);
self
}
pub fn get_license_model(&self) -> &::std::option::Option<crate::types::LicenseModel> {
self.inner.get_license_model()
}
pub fn ssh_public_keys(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.inner = self.inner.ssh_public_keys(input.into());
self
}
pub fn set_ssh_public_keys(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
self.inner = self.inner.set_ssh_public_keys(input);
self
}
pub fn get_ssh_public_keys(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
self.inner.get_ssh_public_keys()
}
pub fn system_version(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.inner = self.inner.system_version(input.into());
self
}
pub fn set_system_version(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.inner = self.inner.set_system_version(input);
self
}
pub fn get_system_version(&self) -> &::std::option::Option<::std::string::String> {
self.inner.get_system_version()
}
pub fn total_ecpu_count(mut self, input: i32) -> Self {
self.inner = self.inner.total_ecpu_count(input);
self
}
pub fn set_total_ecpu_count(mut self, input: ::std::option::Option<i32>) -> Self {
self.inner = self.inner.set_total_ecpu_count(input);
self
}
pub fn get_total_ecpu_count(&self) -> &::std::option::Option<i32> {
self.inner.get_total_ecpu_count()
}
pub fn update_action(mut self, input: crate::types::UpdateAction) -> Self {
self.inner = self.inner.update_action(input);
self
}
pub fn set_update_action(mut self, input: ::std::option::Option<crate::types::UpdateAction>) -> Self {
self.inner = self.inner.set_update_action(input);
self
}
pub fn get_update_action(&self) -> &::std::option::Option<crate::types::UpdateAction> {
self.inner.get_update_action()
}
pub fn vm_file_system_storage_total_size_in_gbs(mut self, input: i32) -> Self {
self.inner = self.inner.vm_file_system_storage_total_size_in_gbs(input);
self
}
pub fn set_vm_file_system_storage_total_size_in_gbs(mut self, input: ::std::option::Option<i32>) -> Self {
self.inner = self.inner.set_vm_file_system_storage_total_size_in_gbs(input);
self
}
pub fn get_vm_file_system_storage_total_size_in_gbs(&self) -> &::std::option::Option<i32> {
self.inner.get_vm_file_system_storage_total_size_in_gbs()
}
}