Struct aws_sdk_emrcontainers::operation::create_virtual_cluster::builders::CreateVirtualClusterInputBuilder
source · #[non_exhaustive]pub struct CreateVirtualClusterInputBuilder { /* private fields */ }Expand description
A builder for CreateVirtualClusterInput.
Implementations§
source§impl CreateVirtualClusterInputBuilder
impl CreateVirtualClusterInputBuilder
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The specified name of the virtual cluster.
sourcepub fn container_provider(self, input: ContainerProvider) -> Self
pub fn container_provider(self, input: ContainerProvider) -> Self
The container provider of the virtual cluster.
sourcepub fn set_container_provider(self, input: Option<ContainerProvider>) -> Self
pub fn set_container_provider(self, input: Option<ContainerProvider>) -> Self
The container provider of the virtual cluster.
sourcepub fn get_container_provider(&self) -> &Option<ContainerProvider>
pub fn get_container_provider(&self) -> &Option<ContainerProvider>
The container provider of the virtual cluster.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
The client token of the virtual cluster.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
The client token of the virtual cluster.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
The client token of the virtual cluster.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
The tags assigned to the virtual cluster.
The tags assigned to the virtual cluster.
The tags assigned to the virtual cluster.
sourcepub fn build(self) -> Result<CreateVirtualClusterInput, BuildError>
pub fn build(self) -> Result<CreateVirtualClusterInput, BuildError>
Consumes the builder and constructs a CreateVirtualClusterInput.
source§impl CreateVirtualClusterInputBuilder
impl CreateVirtualClusterInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateVirtualClusterOutput, SdkError<CreateVirtualClusterError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateVirtualClusterOutput, SdkError<CreateVirtualClusterError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateVirtualClusterInputBuilder
impl Clone for CreateVirtualClusterInputBuilder
source§fn clone(&self) -> CreateVirtualClusterInputBuilder
fn clone(&self) -> CreateVirtualClusterInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for CreateVirtualClusterInputBuilder
impl Default for CreateVirtualClusterInputBuilder
source§fn default() -> CreateVirtualClusterInputBuilder
fn default() -> CreateVirtualClusterInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CreateVirtualClusterInputBuilder> for CreateVirtualClusterInputBuilder
impl PartialEq<CreateVirtualClusterInputBuilder> for CreateVirtualClusterInputBuilder
source§fn eq(&self, other: &CreateVirtualClusterInputBuilder) -> bool
fn eq(&self, other: &CreateVirtualClusterInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateVirtualClusterInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CreateVirtualClusterInputBuilder
impl Send for CreateVirtualClusterInputBuilder
impl Sync for CreateVirtualClusterInputBuilder
impl Unpin for CreateVirtualClusterInputBuilder
impl UnwindSafe for CreateVirtualClusterInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more