/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.securityhub.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* Provides details about an Amazon EKS cluster. *

* * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class AwsEksClusterDetails implements Serializable, Cloneable, StructuredPojo { /** *

* The ARN of the cluster. *

*/ private String arn; /** *

* The certificate authority data for the cluster. *

*/ private String certificateAuthorityData; /** *

* The status of the cluster. Valid values are as follows: *

* */ private String clusterStatus; /** *

* The endpoint for the Amazon EKS API server. *

*/ private String endpoint; /** *

* The name of the cluster. *

*/ private String name; /** *

* The VPC configuration used by the cluster control plane. *

*/ private AwsEksClusterResourcesVpcConfigDetails resourcesVpcConfig; /** *

* 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. *

*/ private String roleArn; /** *

* The Amazon EKS server version for the cluster. *

*/ private String version; /** *

* The logging configuration for the cluster. *

*/ private AwsEksClusterLoggingDetails logging; /** *

* The ARN of the cluster. *

* * @param arn * The ARN of the cluster. */ public void setArn(String arn) { this.arn = arn; } /** *

* The ARN of the cluster. *

* * @return The ARN of the cluster. */ public String getArn() { return this.arn; } /** *

* The ARN of the cluster. *

* * @param arn * The ARN of the cluster. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsEksClusterDetails withArn(String arn) { setArn(arn); return this; } /** *

* The certificate authority data for the cluster. *

* * @param certificateAuthorityData * The certificate authority data for the cluster. */ public void setCertificateAuthorityData(String certificateAuthorityData) { this.certificateAuthorityData = certificateAuthorityData; } /** *

* The certificate authority data for the cluster. *

* * @return The certificate authority data for the cluster. */ public String getCertificateAuthorityData() { return this.certificateAuthorityData; } /** *

* The certificate authority data for the cluster. *

* * @param certificateAuthorityData * The certificate authority data for the cluster. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsEksClusterDetails withCertificateAuthorityData(String certificateAuthorityData) { setCertificateAuthorityData(certificateAuthorityData); return this; } /** *

* The status of the cluster. Valid values are as follows: *

* * * @param clusterStatus * The status of the cluster. Valid values are as follows:

*