Struct aws_sdk_emrcontainers::operation::create_virtual_cluster::builders::CreateVirtualClusterFluentBuilder
source · pub struct CreateVirtualClusterFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to CreateVirtualCluster.
Creates a virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You can create, describe, list and delete virtual clusters. They do not consume any additional resource in your system. A single virtual cluster maps to a single Kubernetes namespace. Given this relationship, you can model virtual clusters the same way you model Kubernetes namespaces to meet your requirements.
Implementations§
source§impl CreateVirtualClusterFluentBuilder
impl CreateVirtualClusterFluentBuilder
sourcepub fn as_input(&self) -> &CreateVirtualClusterInputBuilder
pub fn as_input(&self) -> &CreateVirtualClusterInputBuilder
Access the CreateVirtualCluster as a reference.
sourcepub async fn send(
self
) -> Result<CreateVirtualClusterOutput, SdkError<CreateVirtualClusterError, HttpResponse>>
pub async fn send( self ) -> Result<CreateVirtualClusterOutput, SdkError<CreateVirtualClusterError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateVirtualClusterOutput, CreateVirtualClusterError>, SdkError<CreateVirtualClusterError>>
pub async fn customize( self ) -> Result<CustomizableOperation<CreateVirtualClusterOutput, CreateVirtualClusterError>, SdkError<CreateVirtualClusterError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
Trait Implementations§
source§impl Clone for CreateVirtualClusterFluentBuilder
impl Clone for CreateVirtualClusterFluentBuilder
source§fn clone(&self) -> CreateVirtualClusterFluentBuilder
fn clone(&self) -> CreateVirtualClusterFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more