@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EksConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The EksConfiguration structure describes the connection to the Amazon EKS cluster from which a scraper
collects metrics.
| Constructor and Description |
|---|
EksConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
EksConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getClusterArn()
ARN of the Amazon EKS cluster.
|
List<String> |
getSecurityGroupIds()
A list of the security group IDs for the Amazon EKS cluster VPC configuration.
|
List<String> |
getSubnetIds()
A list of subnet IDs for the Amazon EKS cluster VPC configuration.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setClusterArn(String clusterArn)
ARN of the Amazon EKS cluster.
|
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
A list of the security group IDs for the Amazon EKS cluster VPC configuration.
|
void |
setSubnetIds(Collection<String> subnetIds)
A list of subnet IDs for the Amazon EKS cluster VPC configuration.
|
String |
toString()
Returns a string representation of this object.
|
EksConfiguration |
withClusterArn(String clusterArn)
ARN of the Amazon EKS cluster.
|
EksConfiguration |
withSecurityGroupIds(Collection<String> securityGroupIds)
A list of the security group IDs for the Amazon EKS cluster VPC configuration.
|
EksConfiguration |
withSecurityGroupIds(String... securityGroupIds)
A list of the security group IDs for the Amazon EKS cluster VPC configuration.
|
EksConfiguration |
withSubnetIds(Collection<String> subnetIds)
A list of subnet IDs for the Amazon EKS cluster VPC configuration.
|
EksConfiguration |
withSubnetIds(String... subnetIds)
A list of subnet IDs for the Amazon EKS cluster VPC configuration.
|
public void setClusterArn(String clusterArn)
ARN of the Amazon EKS cluster.
clusterArn - ARN of the Amazon EKS cluster.public String getClusterArn()
ARN of the Amazon EKS cluster.
public EksConfiguration withClusterArn(String clusterArn)
ARN of the Amazon EKS cluster.
clusterArn - ARN of the Amazon EKS cluster.public List<String> getSecurityGroupIds()
A list of the security group IDs for the Amazon EKS cluster VPC configuration.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
A list of the security group IDs for the Amazon EKS cluster VPC configuration.
securityGroupIds - A list of the security group IDs for the Amazon EKS cluster VPC configuration.public EksConfiguration withSecurityGroupIds(String... securityGroupIds)
A list of the security group IDs for the Amazon EKS cluster VPC configuration.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroupIds(java.util.Collection) or withSecurityGroupIds(java.util.Collection) if you
want to override the existing values.
securityGroupIds - A list of the security group IDs for the Amazon EKS cluster VPC configuration.public EksConfiguration withSecurityGroupIds(Collection<String> securityGroupIds)
A list of the security group IDs for the Amazon EKS cluster VPC configuration.
securityGroupIds - A list of the security group IDs for the Amazon EKS cluster VPC configuration.public List<String> getSubnetIds()
A list of subnet IDs for the Amazon EKS cluster VPC configuration.
public void setSubnetIds(Collection<String> subnetIds)
A list of subnet IDs for the Amazon EKS cluster VPC configuration.
subnetIds - A list of subnet IDs for the Amazon EKS cluster VPC configuration.public EksConfiguration withSubnetIds(String... subnetIds)
A list of subnet IDs for the Amazon EKS cluster VPC configuration.
NOTE: This method appends the values to the existing list (if any). Use
setSubnetIds(java.util.Collection) or withSubnetIds(java.util.Collection) if you want to
override the existing values.
subnetIds - A list of subnet IDs for the Amazon EKS cluster VPC configuration.public EksConfiguration withSubnetIds(Collection<String> subnetIds)
A list of subnet IDs for the Amazon EKS cluster VPC configuration.
subnetIds - A list of subnet IDs for the Amazon EKS cluster VPC configuration.public String toString()
toString in class ObjectObject.toString()public EksConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.