/* * Copyright 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. */ /* * Do not modify this file. This file is generated from the securityhub-2018-10-26.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.SecurityHub.Model { /// /// Provides details about an Amazon EKS cluster. /// public partial class AwsEksClusterDetails { private string _arn; private string _certificateAuthorityData; private string _clusterStatus; private string _endpoint; private AwsEksClusterLoggingDetails _logging; private string _name; private AwsEksClusterResourcesVpcConfigDetails _resourcesVpcConfig; private string _roleArn; private string _version; /// /// Gets and sets the property Arn. /// /// The ARN of the cluster. /// /// public string Arn { get { return this._arn; } set { this._arn = value; } } // Check to see if Arn property is set internal bool IsSetArn() { return this._arn != null; } /// /// Gets and sets the property CertificateAuthorityData. /// /// The certificate authority data for the cluster. /// /// public string CertificateAuthorityData { get { return this._certificateAuthorityData; } set { this._certificateAuthorityData = value; } } // Check to see if CertificateAuthorityData property is set internal bool IsSetCertificateAuthorityData() { return this._certificateAuthorityData != null; } /// /// Gets and sets the property ClusterStatus. /// /// The status of the cluster. Valid values are as follows: /// /// /// public string ClusterStatus { get { return this._clusterStatus; } set { this._clusterStatus = value; } } // Check to see if ClusterStatus property is set internal bool IsSetClusterStatus() { return this._clusterStatus != null; } /// /// Gets and sets the property Endpoint. /// /// The endpoint for the Amazon EKS API server. /// /// public string Endpoint { get { return this._endpoint; } set { this._endpoint = value; } } // Check to see if Endpoint property is set internal bool IsSetEndpoint() { return this._endpoint != null; } /// /// Gets and sets the property Logging. /// /// The logging configuration for the cluster. /// /// public AwsEksClusterLoggingDetails Logging { get { return this._logging; } set { this._logging = value; } } // Check to see if Logging property is set internal bool IsSetLogging() { return this._logging != null; } /// /// Gets and sets the property Name. /// /// The name of the cluster. /// /// public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// /// Gets and sets the property ResourcesVpcConfig. /// /// The VPC configuration used by the cluster control plane. /// /// public AwsEksClusterResourcesVpcConfigDetails ResourcesVpcConfig { get { return this._resourcesVpcConfig; } set { this._resourcesVpcConfig = value; } } // Check to see if ResourcesVpcConfig property is set internal bool IsSetResourcesVpcConfig() { return this._resourcesVpcConfig != null; } /// /// Gets and sets the property RoleArn. /// /// 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. /// /// public string RoleArn { get { return this._roleArn; } set { this._roleArn = value; } } // Check to see if RoleArn property is set internal bool IsSetRoleArn() { return this._roleArn != null; } /// /// Gets and sets the property Version. /// /// The Amazon EKS server version for the cluster. /// /// public string Version { get { return this._version; } set { this._version = value; } } // Check to see if Version property is set internal bool IsSetVersion() { return this._version != null; } } }