Struct aws_sdk_kafka::output::create_cluster_v2_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CreateClusterV2Output
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn cluster_arn(self, input: impl Into<String>) -> Self
pub fn cluster_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the cluster.
sourcepub fn set_cluster_arn(self, input: Option<String>) -> Self
pub fn set_cluster_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the cluster.
sourcepub fn cluster_name(self, input: impl Into<String>) -> Self
pub fn cluster_name(self, input: impl Into<String>) -> Self
The name of the MSK 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 MSK cluster.
sourcepub fn state(self, input: ClusterState) -> Self
pub fn state(self, input: ClusterState) -> Self
The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.
sourcepub fn set_state(self, input: Option<ClusterState>) -> Self
pub fn set_state(self, input: Option<ClusterState>) -> Self
The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.
sourcepub fn cluster_type(self, input: ClusterType) -> Self
pub fn cluster_type(self, input: ClusterType) -> Self
The type of the cluster. The possible states are PROVISIONED or SERVERLESS.
sourcepub fn set_cluster_type(self, input: Option<ClusterType>) -> Self
pub fn set_cluster_type(self, input: Option<ClusterType>) -> Self
The type of the cluster. The possible states are PROVISIONED or SERVERLESS.
sourcepub fn build(self) -> CreateClusterV2Output
pub fn build(self) -> CreateClusterV2Output
Consumes the builder and constructs a CreateClusterV2Output
.