Struct aws_sdk_eks::types::builders::ClusterBuilder
source · #[non_exhaustive]pub struct ClusterBuilder { /* private fields */ }
Expand description
A builder for Cluster
.
Implementations§
source§impl ClusterBuilder
impl ClusterBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the cluster.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the cluster.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The Unix epoch timestamp in seconds for when the cluster was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The Unix epoch timestamp in seconds for when the cluster was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The Unix epoch timestamp in seconds for when the cluster was created.
sourcepub fn version(self, input: impl Into<String>) -> Self
pub fn version(self, input: impl Into<String>) -> Self
The Kubernetes server version for the cluster.
sourcepub fn set_version(self, input: Option<String>) -> Self
pub fn set_version(self, input: Option<String>) -> Self
The Kubernetes server version for the cluster.
sourcepub fn get_version(&self) -> &Option<String>
pub fn get_version(&self) -> &Option<String>
The Kubernetes server version for the cluster.
sourcepub fn endpoint(self, input: impl Into<String>) -> Self
pub fn endpoint(self, input: impl Into<String>) -> Self
The endpoint for your Kubernetes API server.
sourcepub fn set_endpoint(self, input: Option<String>) -> Self
pub fn set_endpoint(self, input: Option<String>) -> Self
The endpoint for your Kubernetes API server.
sourcepub fn get_endpoint(&self) -> &Option<String>
pub fn get_endpoint(&self) -> &Option<String>
The endpoint for your Kubernetes API server.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the IAM role that provides permissions for the Kubernetes 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 Amazon Resource Name (ARN) of the IAM role that provides permissions for the Kubernetes control plane to make calls to Amazon Web Services API operations on your behalf.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the IAM role that provides permissions for the Kubernetes control plane to make calls to Amazon Web Services API operations on your behalf.
sourcepub fn resources_vpc_config(self, input: VpcConfigResponse) -> Self
pub fn resources_vpc_config(self, input: VpcConfigResponse) -> Self
The VPC configuration used by the cluster control plane. Amazon EKS VPC resources have specific requirements to work properly with Kubernetes. For more information, see Cluster VPC Considerations and Cluster Security Group Considerations in the Amazon EKS User Guide.
sourcepub fn set_resources_vpc_config(self, input: Option<VpcConfigResponse>) -> Self
pub fn set_resources_vpc_config(self, input: Option<VpcConfigResponse>) -> Self
The VPC configuration used by the cluster control plane. Amazon EKS VPC resources have specific requirements to work properly with Kubernetes. For more information, see Cluster VPC Considerations and Cluster Security Group Considerations in the Amazon EKS User Guide.
sourcepub fn get_resources_vpc_config(&self) -> &Option<VpcConfigResponse>
pub fn get_resources_vpc_config(&self) -> &Option<VpcConfigResponse>
The VPC configuration used by the cluster control plane. Amazon EKS VPC resources have specific requirements to work properly with Kubernetes. For more information, see Cluster VPC Considerations and Cluster Security Group Considerations in the Amazon EKS User Guide.
sourcepub fn kubernetes_network_config(
self,
input: KubernetesNetworkConfigResponse
) -> Self
pub fn kubernetes_network_config( self, input: KubernetesNetworkConfigResponse ) -> Self
The Kubernetes network configuration for the cluster.
sourcepub fn set_kubernetes_network_config(
self,
input: Option<KubernetesNetworkConfigResponse>
) -> Self
pub fn set_kubernetes_network_config( self, input: Option<KubernetesNetworkConfigResponse> ) -> Self
The Kubernetes network configuration for the cluster.
sourcepub fn get_kubernetes_network_config(
&self
) -> &Option<KubernetesNetworkConfigResponse>
pub fn get_kubernetes_network_config( &self ) -> &Option<KubernetesNetworkConfigResponse>
The Kubernetes network configuration for the cluster.
sourcepub fn set_logging(self, input: Option<Logging>) -> Self
pub fn set_logging(self, input: Option<Logging>) -> Self
The logging configuration for your cluster.
sourcepub fn get_logging(&self) -> &Option<Logging>
pub fn get_logging(&self) -> &Option<Logging>
The logging configuration for your cluster.
sourcepub fn identity(self, input: Identity) -> Self
pub fn identity(self, input: Identity) -> Self
The identity provider information for the cluster.
sourcepub fn set_identity(self, input: Option<Identity>) -> Self
pub fn set_identity(self, input: Option<Identity>) -> Self
The identity provider information for the cluster.
sourcepub fn get_identity(&self) -> &Option<Identity>
pub fn get_identity(&self) -> &Option<Identity>
The identity provider information for the cluster.
sourcepub fn status(self, input: ClusterStatus) -> Self
pub fn status(self, input: ClusterStatus) -> Self
The current status of the cluster.
sourcepub fn set_status(self, input: Option<ClusterStatus>) -> Self
pub fn set_status(self, input: Option<ClusterStatus>) -> Self
The current status of the cluster.
sourcepub fn get_status(&self) -> &Option<ClusterStatus>
pub fn get_status(&self) -> &Option<ClusterStatus>
The current status of the cluster.
The certificate-authority-data
for your cluster.
The certificate-authority-data
for your cluster.
The certificate-authority-data
for your cluster.
sourcepub fn client_request_token(self, input: impl Into<String>) -> Self
pub fn client_request_token(self, input: impl Into<String>) -> Self
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
sourcepub fn set_client_request_token(self, input: Option<String>) -> Self
pub fn set_client_request_token(self, input: Option<String>) -> Self
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
sourcepub fn get_client_request_token(&self) -> &Option<String>
pub fn get_client_request_token(&self) -> &Option<String>
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
sourcepub fn platform_version(self, input: impl Into<String>) -> Self
pub fn platform_version(self, input: impl Into<String>) -> Self
The platform version of your Amazon EKS cluster. For more information, see Platform Versions in the Amazon EKS User Guide .
sourcepub fn set_platform_version(self, input: Option<String>) -> Self
pub fn set_platform_version(self, input: Option<String>) -> Self
The platform version of your Amazon EKS cluster. For more information, see Platform Versions in the Amazon EKS User Guide .
sourcepub fn get_platform_version(&self) -> &Option<String>
pub fn get_platform_version(&self) -> &Option<String>
The platform version of your Amazon EKS cluster. For more information, see Platform Versions in the Amazon EKS User Guide .
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The metadata that you apply to the cluster to assist with categorization and organization. Each tag consists of a key and an optional value. You define both. Cluster tags do not propagate to any other resources associated with the cluster.
The metadata that you apply to the cluster to assist with categorization and organization. Each tag consists of a key and an optional value. You define both. Cluster tags do not propagate to any other resources associated with the cluster.
The metadata that you apply to the cluster to assist with categorization and organization. Each tag consists of a key and an optional value. You define both. Cluster tags do not propagate to any other resources associated with the cluster.
sourcepub fn encryption_config(self, input: EncryptionConfig) -> Self
pub fn encryption_config(self, input: EncryptionConfig) -> Self
Appends an item to encryption_config
.
To override the contents of this collection use set_encryption_config
.
The encryption configuration for the cluster.
sourcepub fn set_encryption_config(self, input: Option<Vec<EncryptionConfig>>) -> Self
pub fn set_encryption_config(self, input: Option<Vec<EncryptionConfig>>) -> Self
The encryption configuration for the cluster.
sourcepub fn get_encryption_config(&self) -> &Option<Vec<EncryptionConfig>>
pub fn get_encryption_config(&self) -> &Option<Vec<EncryptionConfig>>
The encryption configuration for the cluster.
sourcepub fn connector_config(self, input: ConnectorConfigResponse) -> Self
pub fn connector_config(self, input: ConnectorConfigResponse) -> Self
The configuration used to connect to a cluster for registration.
sourcepub fn set_connector_config(
self,
input: Option<ConnectorConfigResponse>
) -> Self
pub fn set_connector_config( self, input: Option<ConnectorConfigResponse> ) -> Self
The configuration used to connect to a cluster for registration.
sourcepub fn get_connector_config(&self) -> &Option<ConnectorConfigResponse>
pub fn get_connector_config(&self) -> &Option<ConnectorConfigResponse>
The configuration used to connect to a cluster for registration.
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The ID of your local Amazon EKS cluster on an Amazon Web Services Outpost. This property isn't available for an Amazon EKS cluster on the Amazon Web Services cloud.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The ID of your local Amazon EKS cluster on an Amazon Web Services Outpost. This property isn't available for an Amazon EKS cluster on the Amazon Web Services cloud.
sourcepub fn get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
The ID of your local Amazon EKS cluster on an Amazon Web Services Outpost. This property isn't available for an Amazon EKS cluster on the Amazon Web Services cloud.
sourcepub fn health(self, input: ClusterHealth) -> Self
pub fn health(self, input: ClusterHealth) -> Self
An object representing the health of your local Amazon EKS cluster on an Amazon Web Services Outpost. This object isn't available for clusters on the Amazon Web Services cloud.
sourcepub fn set_health(self, input: Option<ClusterHealth>) -> Self
pub fn set_health(self, input: Option<ClusterHealth>) -> Self
An object representing the health of your local Amazon EKS cluster on an Amazon Web Services Outpost. This object isn't available for clusters on the Amazon Web Services cloud.
sourcepub fn get_health(&self) -> &Option<ClusterHealth>
pub fn get_health(&self) -> &Option<ClusterHealth>
An object representing the health of your local Amazon EKS cluster on an Amazon Web Services Outpost. This object isn't available for clusters on the Amazon Web Services cloud.
sourcepub fn outpost_config(self, input: OutpostConfigResponse) -> Self
pub fn outpost_config(self, input: OutpostConfigResponse) -> Self
An object representing the configuration of your local Amazon EKS cluster on an Amazon Web Services Outpost. This object isn't available for clusters on the Amazon Web Services cloud.
sourcepub fn set_outpost_config(self, input: Option<OutpostConfigResponse>) -> Self
pub fn set_outpost_config(self, input: Option<OutpostConfigResponse>) -> Self
An object representing the configuration of your local Amazon EKS cluster on an Amazon Web Services Outpost. This object isn't available for clusters on the Amazon Web Services cloud.
sourcepub fn get_outpost_config(&self) -> &Option<OutpostConfigResponse>
pub fn get_outpost_config(&self) -> &Option<OutpostConfigResponse>
An object representing the configuration of your local Amazon EKS cluster on an Amazon Web Services Outpost. This object isn't available for clusters on the Amazon Web Services cloud.
Trait Implementations§
source§impl Clone for ClusterBuilder
impl Clone for ClusterBuilder
source§fn clone(&self) -> ClusterBuilder
fn clone(&self) -> ClusterBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ClusterBuilder
impl Debug for ClusterBuilder
source§impl Default for ClusterBuilder
impl Default for ClusterBuilder
source§fn default() -> ClusterBuilder
fn default() -> ClusterBuilder
source§impl PartialEq for ClusterBuilder
impl PartialEq for ClusterBuilder
source§fn eq(&self, other: &ClusterBuilder) -> bool
fn eq(&self, other: &ClusterBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.