Struct aws_sdk_kafka::input::create_cluster_v2_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CreateClusterV2Input
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn cluster_name(self, input: impl Into<String>) -> Self
pub fn cluster_name(self, input: impl Into<String>) -> Self
The name of the cluster.
sourcepub fn set_cluster_name(self, input: Option<String>) -> Self
pub fn set_cluster_name(self, input: Option<String>) -> Self
The name of the cluster.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
A map of tags that you want the cluster to have.
A map of tags that you want the cluster to have.
sourcepub fn provisioned(self, input: ProvisionedRequest) -> Self
pub fn provisioned(self, input: ProvisionedRequest) -> Self
Information about the provisioned cluster.
sourcepub fn set_provisioned(self, input: Option<ProvisionedRequest>) -> Self
pub fn set_provisioned(self, input: Option<ProvisionedRequest>) -> Self
Information about the provisioned cluster.
sourcepub fn serverless(self, input: ServerlessRequest) -> Self
pub fn serverless(self, input: ServerlessRequest) -> Self
Information about the serverless cluster.
sourcepub fn set_serverless(self, input: Option<ServerlessRequest>) -> Self
pub fn set_serverless(self, input: Option<ServerlessRequest>) -> Self
Information about the serverless cluster.
sourcepub fn build(self) -> Result<CreateClusterV2Input, BuildError>
pub fn build(self) -> Result<CreateClusterV2Input, BuildError>
Consumes the builder and constructs a CreateClusterV2Input
.