@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VpcConfigResponse extends Object implements Serializable, Cloneable, StructuredPojo
An object representing an Amazon EKS cluster VPC configuration response.
Constructor and Description |
---|
VpcConfigResponse() |
Modifier and Type | Method and Description |
---|---|
VpcConfigResponse |
clone() |
boolean |
equals(Object obj) |
String |
getClusterSecurityGroupId()
The cluster security group that was created by Amazon EKS for the cluster.
|
Boolean |
getEndpointPrivateAccess()
This parameter indicates whether the Amazon EKS private API server endpoint is enabled.
|
Boolean |
getEndpointPublicAccess()
This parameter indicates whether the Amazon EKS public API server endpoint is enabled.
|
List<String> |
getSecurityGroupIds()
The security groups associated with the cross-account elastic network interfaces that are used to allow
communication between your worker nodes and the Kubernetes control plane.
|
List<String> |
getSubnetIds()
The subnets associated with your cluster.
|
String |
getVpcId()
The VPC associated with your cluster.
|
int |
hashCode() |
Boolean |
isEndpointPrivateAccess()
This parameter indicates whether the Amazon EKS private API server endpoint is enabled.
|
Boolean |
isEndpointPublicAccess()
This parameter indicates whether the Amazon EKS public API server endpoint is enabled.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setClusterSecurityGroupId(String clusterSecurityGroupId)
The cluster security group that was created by Amazon EKS for the cluster.
|
void |
setEndpointPrivateAccess(Boolean endpointPrivateAccess)
This parameter indicates whether the Amazon EKS private API server endpoint is enabled.
|
void |
setEndpointPublicAccess(Boolean endpointPublicAccess)
This parameter indicates whether the Amazon EKS public API server endpoint is enabled.
|
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
The security groups associated with the cross-account elastic network interfaces that are used to allow
communication between your worker nodes and the Kubernetes control plane.
|
void |
setSubnetIds(Collection<String> subnetIds)
The subnets associated with your cluster.
|
void |
setVpcId(String vpcId)
The VPC associated with your cluster.
|
String |
toString()
Returns a string representation of this object.
|
VpcConfigResponse |
withClusterSecurityGroupId(String clusterSecurityGroupId)
The cluster security group that was created by Amazon EKS for the cluster.
|
VpcConfigResponse |
withEndpointPrivateAccess(Boolean endpointPrivateAccess)
This parameter indicates whether the Amazon EKS private API server endpoint is enabled.
|
VpcConfigResponse |
withEndpointPublicAccess(Boolean endpointPublicAccess)
This parameter indicates whether the Amazon EKS public API server endpoint is enabled.
|
VpcConfigResponse |
withSecurityGroupIds(Collection<String> securityGroupIds)
The security groups associated with the cross-account elastic network interfaces that are used to allow
communication between your worker nodes and the Kubernetes control plane.
|
VpcConfigResponse |
withSecurityGroupIds(String... securityGroupIds)
The security groups associated with the cross-account elastic network interfaces that are used to allow
communication between your worker nodes and the Kubernetes control plane.
|
VpcConfigResponse |
withSubnetIds(Collection<String> subnetIds)
The subnets associated with your cluster.
|
VpcConfigResponse |
withSubnetIds(String... subnetIds)
The subnets associated with your cluster.
|
VpcConfigResponse |
withVpcId(String vpcId)
The VPC associated with your cluster.
|
public List<String> getSubnetIds()
The subnets associated with your cluster.
public void setSubnetIds(Collection<String> subnetIds)
The subnets associated with your cluster.
subnetIds
- The subnets associated with your cluster.public VpcConfigResponse withSubnetIds(String... subnetIds)
The subnets associated with your cluster.
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
- The subnets associated with your cluster.public VpcConfigResponse withSubnetIds(Collection<String> subnetIds)
The subnets associated with your cluster.
subnetIds
- The subnets associated with your cluster.public List<String> getSecurityGroupIds()
The security groups associated with the cross-account elastic network interfaces that are used to allow communication between your worker nodes and the Kubernetes control plane.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
The security groups associated with the cross-account elastic network interfaces that are used to allow communication between your worker nodes and the Kubernetes control plane.
securityGroupIds
- The security groups associated with the cross-account elastic network interfaces that are used to allow
communication between your worker nodes and the Kubernetes control plane.public VpcConfigResponse withSecurityGroupIds(String... securityGroupIds)
The security groups associated with the cross-account elastic network interfaces that are used to allow communication between your worker nodes and the Kubernetes control plane.
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
- The security groups associated with the cross-account elastic network interfaces that are used to allow
communication between your worker nodes and the Kubernetes control plane.public VpcConfigResponse withSecurityGroupIds(Collection<String> securityGroupIds)
The security groups associated with the cross-account elastic network interfaces that are used to allow communication between your worker nodes and the Kubernetes control plane.
securityGroupIds
- The security groups associated with the cross-account elastic network interfaces that are used to allow
communication between your worker nodes and the Kubernetes control plane.public void setClusterSecurityGroupId(String clusterSecurityGroupId)
The cluster security group that was created by Amazon EKS for the cluster. Managed node groups use this security group for control-plane-to-data-plane communication.
clusterSecurityGroupId
- The cluster security group that was created by Amazon EKS for the cluster. Managed node groups use this
security group for control-plane-to-data-plane communication.public String getClusterSecurityGroupId()
The cluster security group that was created by Amazon EKS for the cluster. Managed node groups use this security group for control-plane-to-data-plane communication.
public VpcConfigResponse withClusterSecurityGroupId(String clusterSecurityGroupId)
The cluster security group that was created by Amazon EKS for the cluster. Managed node groups use this security group for control-plane-to-data-plane communication.
clusterSecurityGroupId
- The cluster security group that was created by Amazon EKS for the cluster. Managed node groups use this
security group for control-plane-to-data-plane communication.public void setVpcId(String vpcId)
The VPC associated with your cluster.
vpcId
- The VPC associated with your cluster.public String getVpcId()
The VPC associated with your cluster.
public VpcConfigResponse withVpcId(String vpcId)
The VPC associated with your cluster.
vpcId
- The VPC associated with your cluster.public void setEndpointPublicAccess(Boolean endpointPublicAccess)
This parameter indicates whether the Amazon EKS public API server endpoint is enabled. If the Amazon EKS public API server endpoint is disabled, your cluster's Kubernetes API server can receive only requests that originate from within the cluster VPC.
endpointPublicAccess
- This parameter indicates whether the Amazon EKS public API server endpoint is enabled. If the Amazon EKS
public API server endpoint is disabled, your cluster's Kubernetes API server can receive only requests
that originate from within the cluster VPC.public Boolean getEndpointPublicAccess()
This parameter indicates whether the Amazon EKS public API server endpoint is enabled. If the Amazon EKS public API server endpoint is disabled, your cluster's Kubernetes API server can receive only requests that originate from within the cluster VPC.
public VpcConfigResponse withEndpointPublicAccess(Boolean endpointPublicAccess)
This parameter indicates whether the Amazon EKS public API server endpoint is enabled. If the Amazon EKS public API server endpoint is disabled, your cluster's Kubernetes API server can receive only requests that originate from within the cluster VPC.
endpointPublicAccess
- This parameter indicates whether the Amazon EKS public API server endpoint is enabled. If the Amazon EKS
public API server endpoint is disabled, your cluster's Kubernetes API server can receive only requests
that originate from within the cluster VPC.public Boolean isEndpointPublicAccess()
This parameter indicates whether the Amazon EKS public API server endpoint is enabled. If the Amazon EKS public API server endpoint is disabled, your cluster's Kubernetes API server can receive only requests that originate from within the cluster VPC.
public void setEndpointPrivateAccess(Boolean endpointPrivateAccess)
This parameter indicates whether the Amazon EKS private API server endpoint is enabled. If the Amazon EKS private API server endpoint is enabled, Kubernetes API requests that originate from within your cluster's VPC use the private VPC endpoint instead of traversing the internet.
endpointPrivateAccess
- This parameter indicates whether the Amazon EKS private API server endpoint is enabled. If the Amazon EKS
private API server endpoint is enabled, Kubernetes API requests that originate from within your cluster's
VPC use the private VPC endpoint instead of traversing the internet.public Boolean getEndpointPrivateAccess()
This parameter indicates whether the Amazon EKS private API server endpoint is enabled. If the Amazon EKS private API server endpoint is enabled, Kubernetes API requests that originate from within your cluster's VPC use the private VPC endpoint instead of traversing the internet.
public VpcConfigResponse withEndpointPrivateAccess(Boolean endpointPrivateAccess)
This parameter indicates whether the Amazon EKS private API server endpoint is enabled. If the Amazon EKS private API server endpoint is enabled, Kubernetes API requests that originate from within your cluster's VPC use the private VPC endpoint instead of traversing the internet.
endpointPrivateAccess
- This parameter indicates whether the Amazon EKS private API server endpoint is enabled. If the Amazon EKS
private API server endpoint is enabled, Kubernetes API requests that originate from within your cluster's
VPC use the private VPC endpoint instead of traversing the internet.public Boolean isEndpointPrivateAccess()
This parameter indicates whether the Amazon EKS private API server endpoint is enabled. If the Amazon EKS private API server endpoint is enabled, Kubernetes API requests that originate from within your cluster's VPC use the private VPC endpoint instead of traversing the internet.
public String toString()
toString
in class Object
Object.toString()
public VpcConfigResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.