Struct aws_sdk_securityhub::model::aws_eks_cluster_details::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for AwsEksClusterDetails
.
Implementations§
source§impl Builder
impl Builder
The certificate authority data for the cluster.
The certificate authority data for the cluster.
sourcepub fn cluster_status(self, input: impl Into<String>) -> Self
pub fn cluster_status(self, input: impl Into<String>) -> Self
The status of the cluster. Valid values are as follows:
-
ACTIVE
-
CREATING
-
DELETING
-
FAILED
-
PENDING
-
UPDATING
sourcepub fn set_cluster_status(self, input: Option<String>) -> Self
pub fn set_cluster_status(self, input: Option<String>) -> Self
The status of the cluster. Valid values are as follows:
-
ACTIVE
-
CREATING
-
DELETING
-
FAILED
-
PENDING
-
UPDATING
sourcepub fn endpoint(self, input: impl Into<String>) -> Self
pub fn endpoint(self, input: impl Into<String>) -> Self
The endpoint for the Amazon EKS API server.
sourcepub fn set_endpoint(self, input: Option<String>) -> Self
pub fn set_endpoint(self, input: Option<String>) -> Self
The endpoint for the Amazon EKS API server.
sourcepub fn resources_vpc_config(
self,
input: AwsEksClusterResourcesVpcConfigDetails
) -> Self
pub fn resources_vpc_config(
self,
input: AwsEksClusterResourcesVpcConfigDetails
) -> Self
The VPC configuration used by the cluster control plane.
sourcepub fn set_resources_vpc_config(
self,
input: Option<AwsEksClusterResourcesVpcConfigDetails>
) -> Self
pub fn set_resources_vpc_config(
self,
input: Option<AwsEksClusterResourcesVpcConfigDetails>
) -> Self
The VPC configuration used by the cluster control plane.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The ARN of the IAM role that provides permissions for the Amazon EKS control plane to make calls to Amazon Web Services API operations on your behalf.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The ARN of the IAM role that provides permissions for the Amazon EKS control plane to make calls to Amazon Web Services API operations on your behalf.
sourcepub fn version(self, input: impl Into<String>) -> Self
pub fn version(self, input: impl Into<String>) -> Self
The Amazon EKS server version for the cluster.
sourcepub fn set_version(self, input: Option<String>) -> Self
pub fn set_version(self, input: Option<String>) -> Self
The Amazon EKS server version for the cluster.
sourcepub fn logging(self, input: AwsEksClusterLoggingDetails) -> Self
pub fn logging(self, input: AwsEksClusterLoggingDetails) -> Self
The logging configuration for the cluster.
sourcepub fn set_logging(self, input: Option<AwsEksClusterLoggingDetails>) -> Self
pub fn set_logging(self, input: Option<AwsEksClusterLoggingDetails>) -> Self
The logging configuration for the cluster.
sourcepub fn build(self) -> AwsEksClusterDetails
pub fn build(self) -> AwsEksClusterDetails
Consumes the builder and constructs a AwsEksClusterDetails
.