@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> |
getPublicAccessCidrs()
The CIDR blocks that are allowed access to your cluster's public Kubernetes API server endpoint.
|
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 |
setPublicAccessCidrs(Collection<String> publicAccessCidrs)
The CIDR blocks that are allowed access to your cluster's public Kubernetes API server endpoint.
|
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 |
withPublicAccessCidrs(Collection<String> publicAccessCidrs)
The CIDR blocks that are allowed access to your cluster's public Kubernetes API server endpoint.
|
VpcConfigResponse |
withPublicAccessCidrs(String... publicAccessCidrs)
The CIDR blocks that are allowed access to your cluster's public Kubernetes API server endpoint.
|
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 only receive 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 only receive 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 only receive 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 only receive 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 only receive 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 only receive 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. If this value is disabled and you have worker nodes or
AWS Fargate pods in the cluster, then ensure that publicAccessCidrs
includes the necessary CIDR
blocks for communication with the worker nodes or Fargate pods. For more information, see Amazon EKS Cluster Endpoint Access
Control in the Amazon EKS User Guide .
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. If this value is disabled and you
have worker nodes or AWS Fargate pods in the cluster, then ensure that publicAccessCidrs
includes the necessary CIDR blocks for communication with the worker nodes or Fargate pods. For more
information, see Amazon
EKS Cluster Endpoint Access Control in the Amazon EKS User Guide .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. If this value is disabled and you have worker nodes or
AWS Fargate pods in the cluster, then ensure that publicAccessCidrs
includes the necessary CIDR
blocks for communication with the worker nodes or Fargate pods. For more information, see Amazon EKS Cluster Endpoint Access
Control in the Amazon EKS User Guide .
publicAccessCidrs
includes the necessary CIDR blocks for communication with the worker nodes or Fargate pods. For more
information, see Amazon
EKS Cluster Endpoint Access Control in the Amazon EKS User Guide .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. If this value is disabled and you have worker nodes or
AWS Fargate pods in the cluster, then ensure that publicAccessCidrs
includes the necessary CIDR
blocks for communication with the worker nodes or Fargate pods. For more information, see Amazon EKS Cluster Endpoint Access
Control in the Amazon EKS User Guide .
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. If this value is disabled and you
have worker nodes or AWS Fargate pods in the cluster, then ensure that publicAccessCidrs
includes the necessary CIDR blocks for communication with the worker nodes or Fargate pods. For more
information, see Amazon
EKS Cluster Endpoint Access Control in the Amazon EKS User Guide .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. If this value is disabled and you have worker nodes or
AWS Fargate pods in the cluster, then ensure that publicAccessCidrs
includes the necessary CIDR
blocks for communication with the worker nodes or Fargate pods. For more information, see Amazon EKS Cluster Endpoint Access
Control in the Amazon EKS User Guide .
publicAccessCidrs
includes the necessary CIDR blocks for communication with the worker nodes or Fargate pods. For more
information, see Amazon
EKS Cluster Endpoint Access Control in the Amazon EKS User Guide .public List<String> getPublicAccessCidrs()
The CIDR blocks that are allowed access to your cluster's public Kubernetes API server endpoint. Communication to
the endpoint from addresses outside of the listed CIDR blocks is denied. The default value is
0.0.0.0/0
. If you've disabled private endpoint access and you have worker nodes or AWS Fargate pods
in the cluster, then ensure that the necessary CIDR blocks are listed. For more information, see Amazon EKS Cluster Endpoint Access
Control in the Amazon EKS User Guide .
0.0.0.0/0
. If you've disabled private endpoint access and you have worker nodes or
AWS Fargate pods in the cluster, then ensure that the necessary CIDR blocks are listed. For more
information, see Amazon
EKS Cluster Endpoint Access Control in the Amazon EKS User Guide .public void setPublicAccessCidrs(Collection<String> publicAccessCidrs)
The CIDR blocks that are allowed access to your cluster's public Kubernetes API server endpoint. Communication to
the endpoint from addresses outside of the listed CIDR blocks is denied. The default value is
0.0.0.0/0
. If you've disabled private endpoint access and you have worker nodes or AWS Fargate pods
in the cluster, then ensure that the necessary CIDR blocks are listed. For more information, see Amazon EKS Cluster Endpoint Access
Control in the Amazon EKS User Guide .
publicAccessCidrs
- The CIDR blocks that are allowed access to your cluster's public Kubernetes API server endpoint.
Communication to the endpoint from addresses outside of the listed CIDR blocks is denied. The default
value is 0.0.0.0/0
. If you've disabled private endpoint access and you have worker nodes or
AWS Fargate pods in the cluster, then ensure that the necessary CIDR blocks are listed. For more
information, see Amazon
EKS Cluster Endpoint Access Control in the Amazon EKS User Guide .public VpcConfigResponse withPublicAccessCidrs(String... publicAccessCidrs)
The CIDR blocks that are allowed access to your cluster's public Kubernetes API server endpoint. Communication to
the endpoint from addresses outside of the listed CIDR blocks is denied. The default value is
0.0.0.0/0
. If you've disabled private endpoint access and you have worker nodes or AWS Fargate pods
in the cluster, then ensure that the necessary CIDR blocks are listed. For more information, see Amazon EKS Cluster Endpoint Access
Control in the Amazon EKS User Guide .
NOTE: This method appends the values to the existing list (if any). Use
setPublicAccessCidrs(java.util.Collection)
or withPublicAccessCidrs(java.util.Collection)
if
you want to override the existing values.
publicAccessCidrs
- The CIDR blocks that are allowed access to your cluster's public Kubernetes API server endpoint.
Communication to the endpoint from addresses outside of the listed CIDR blocks is denied. The default
value is 0.0.0.0/0
. If you've disabled private endpoint access and you have worker nodes or
AWS Fargate pods in the cluster, then ensure that the necessary CIDR blocks are listed. For more
information, see Amazon
EKS Cluster Endpoint Access Control in the Amazon EKS User Guide .public VpcConfigResponse withPublicAccessCidrs(Collection<String> publicAccessCidrs)
The CIDR blocks that are allowed access to your cluster's public Kubernetes API server endpoint. Communication to
the endpoint from addresses outside of the listed CIDR blocks is denied. The default value is
0.0.0.0/0
. If you've disabled private endpoint access and you have worker nodes or AWS Fargate pods
in the cluster, then ensure that the necessary CIDR blocks are listed. For more information, see Amazon EKS Cluster Endpoint Access
Control in the Amazon EKS User Guide .
publicAccessCidrs
- The CIDR blocks that are allowed access to your cluster's public Kubernetes API server endpoint.
Communication to the endpoint from addresses outside of the listed CIDR blocks is denied. The default
value is 0.0.0.0/0
. If you've disabled private endpoint access and you have worker nodes or
AWS Fargate pods in the cluster, then ensure that the necessary CIDR blocks are listed. For more
information, see Amazon
EKS Cluster Endpoint Access Control in the Amazon EKS User Guide .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.