@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceConfiguration extends Object implements Serializable, Cloneable
Describes a service configuration for a VPC endpoint service.
Constructor and Description |
---|
ServiceConfiguration() |
Modifier and Type | Method and Description |
---|---|
ServiceConfiguration |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAcceptanceRequired()
Indicates whether requests from other Amazon Web Services accounts to create an endpoint to the service must
first be accepted.
|
List<String> |
getAvailabilityZones()
The Availability Zones in which the service is available.
|
List<String> |
getBaseEndpointDnsNames()
The DNS names for the service.
|
List<String> |
getGatewayLoadBalancerArns()
The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service.
|
Boolean |
getManagesVpcEndpoints()
Indicates whether the service manages its VPC endpoints.
|
List<String> |
getNetworkLoadBalancerArns()
The Amazon Resource Names (ARNs) of the Network Load Balancers for the service.
|
String |
getPayerResponsibility()
The payer responsibility.
|
String |
getPrivateDnsName()
The private DNS name for the service.
|
PrivateDnsNameConfiguration |
getPrivateDnsNameConfiguration()
Information about the endpoint service private DNS name configuration.
|
String |
getServiceId()
The ID of the service.
|
String |
getServiceName()
The name of the service.
|
String |
getServiceState()
The service state.
|
List<ServiceTypeDetail> |
getServiceType()
The type of service.
|
List<String> |
getSupportedIpAddressTypes()
The supported IP address types.
|
List<Tag> |
getTags()
The tags assigned to the service.
|
int |
hashCode() |
Boolean |
isAcceptanceRequired()
Indicates whether requests from other Amazon Web Services accounts to create an endpoint to the service must
first be accepted.
|
Boolean |
isManagesVpcEndpoints()
Indicates whether the service manages its VPC endpoints.
|
void |
setAcceptanceRequired(Boolean acceptanceRequired)
Indicates whether requests from other Amazon Web Services accounts to create an endpoint to the service must
first be accepted.
|
void |
setAvailabilityZones(Collection<String> availabilityZones)
The Availability Zones in which the service is available.
|
void |
setBaseEndpointDnsNames(Collection<String> baseEndpointDnsNames)
The DNS names for the service.
|
void |
setGatewayLoadBalancerArns(Collection<String> gatewayLoadBalancerArns)
The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service.
|
void |
setManagesVpcEndpoints(Boolean managesVpcEndpoints)
Indicates whether the service manages its VPC endpoints.
|
void |
setNetworkLoadBalancerArns(Collection<String> networkLoadBalancerArns)
The Amazon Resource Names (ARNs) of the Network Load Balancers for the service.
|
void |
setPayerResponsibility(String payerResponsibility)
The payer responsibility.
|
void |
setPrivateDnsName(String privateDnsName)
The private DNS name for the service.
|
void |
setPrivateDnsNameConfiguration(PrivateDnsNameConfiguration privateDnsNameConfiguration)
Information about the endpoint service private DNS name configuration.
|
void |
setServiceId(String serviceId)
The ID of the service.
|
void |
setServiceName(String serviceName)
The name of the service.
|
void |
setServiceState(String serviceState)
The service state.
|
void |
setServiceType(Collection<ServiceTypeDetail> serviceType)
The type of service.
|
void |
setSupportedIpAddressTypes(Collection<String> supportedIpAddressTypes)
The supported IP address types.
|
void |
setTags(Collection<Tag> tags)
The tags assigned to the service.
|
String |
toString()
Returns a string representation of this object.
|
ServiceConfiguration |
withAcceptanceRequired(Boolean acceptanceRequired)
Indicates whether requests from other Amazon Web Services accounts to create an endpoint to the service must
first be accepted.
|
ServiceConfiguration |
withAvailabilityZones(Collection<String> availabilityZones)
The Availability Zones in which the service is available.
|
ServiceConfiguration |
withAvailabilityZones(String... availabilityZones)
The Availability Zones in which the service is available.
|
ServiceConfiguration |
withBaseEndpointDnsNames(Collection<String> baseEndpointDnsNames)
The DNS names for the service.
|
ServiceConfiguration |
withBaseEndpointDnsNames(String... baseEndpointDnsNames)
The DNS names for the service.
|
ServiceConfiguration |
withGatewayLoadBalancerArns(Collection<String> gatewayLoadBalancerArns)
The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service.
|
ServiceConfiguration |
withGatewayLoadBalancerArns(String... gatewayLoadBalancerArns)
The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service.
|
ServiceConfiguration |
withManagesVpcEndpoints(Boolean managesVpcEndpoints)
Indicates whether the service manages its VPC endpoints.
|
ServiceConfiguration |
withNetworkLoadBalancerArns(Collection<String> networkLoadBalancerArns)
The Amazon Resource Names (ARNs) of the Network Load Balancers for the service.
|
ServiceConfiguration |
withNetworkLoadBalancerArns(String... networkLoadBalancerArns)
The Amazon Resource Names (ARNs) of the Network Load Balancers for the service.
|
ServiceConfiguration |
withPayerResponsibility(PayerResponsibility payerResponsibility)
The payer responsibility.
|
ServiceConfiguration |
withPayerResponsibility(String payerResponsibility)
The payer responsibility.
|
ServiceConfiguration |
withPrivateDnsName(String privateDnsName)
The private DNS name for the service.
|
ServiceConfiguration |
withPrivateDnsNameConfiguration(PrivateDnsNameConfiguration privateDnsNameConfiguration)
Information about the endpoint service private DNS name configuration.
|
ServiceConfiguration |
withServiceId(String serviceId)
The ID of the service.
|
ServiceConfiguration |
withServiceName(String serviceName)
The name of the service.
|
ServiceConfiguration |
withServiceState(ServiceState serviceState)
The service state.
|
ServiceConfiguration |
withServiceState(String serviceState)
The service state.
|
ServiceConfiguration |
withServiceType(Collection<ServiceTypeDetail> serviceType)
The type of service.
|
ServiceConfiguration |
withServiceType(ServiceTypeDetail... serviceType)
The type of service.
|
ServiceConfiguration |
withSupportedIpAddressTypes(Collection<String> supportedIpAddressTypes)
The supported IP address types.
|
ServiceConfiguration |
withSupportedIpAddressTypes(ServiceConnectivityType... supportedIpAddressTypes)
The supported IP address types.
|
ServiceConfiguration |
withSupportedIpAddressTypes(String... supportedIpAddressTypes)
The supported IP address types.
|
ServiceConfiguration |
withTags(Collection<Tag> tags)
The tags assigned to the service.
|
ServiceConfiguration |
withTags(Tag... tags)
The tags assigned to the service.
|
public List<ServiceTypeDetail> getServiceType()
The type of service.
public void setServiceType(Collection<ServiceTypeDetail> serviceType)
The type of service.
serviceType
- The type of service.public ServiceConfiguration withServiceType(ServiceTypeDetail... serviceType)
The type of service.
NOTE: This method appends the values to the existing list (if any). Use
setServiceType(java.util.Collection)
or withServiceType(java.util.Collection)
if you want to
override the existing values.
serviceType
- The type of service.public ServiceConfiguration withServiceType(Collection<ServiceTypeDetail> serviceType)
The type of service.
serviceType
- The type of service.public void setServiceId(String serviceId)
The ID of the service.
serviceId
- The ID of the service.public String getServiceId()
The ID of the service.
public ServiceConfiguration withServiceId(String serviceId)
The ID of the service.
serviceId
- The ID of the service.public void setServiceName(String serviceName)
The name of the service.
serviceName
- The name of the service.public String getServiceName()
The name of the service.
public ServiceConfiguration withServiceName(String serviceName)
The name of the service.
serviceName
- The name of the service.public void setServiceState(String serviceState)
The service state.
serviceState
- The service state.ServiceState
public String getServiceState()
The service state.
ServiceState
public ServiceConfiguration withServiceState(String serviceState)
The service state.
serviceState
- The service state.ServiceState
public ServiceConfiguration withServiceState(ServiceState serviceState)
The service state.
serviceState
- The service state.ServiceState
public List<String> getAvailabilityZones()
The Availability Zones in which the service is available.
public void setAvailabilityZones(Collection<String> availabilityZones)
The Availability Zones in which the service is available.
availabilityZones
- The Availability Zones in which the service is available.public ServiceConfiguration withAvailabilityZones(String... availabilityZones)
The Availability Zones in which the service is available.
NOTE: This method appends the values to the existing list (if any). Use
setAvailabilityZones(java.util.Collection)
or withAvailabilityZones(java.util.Collection)
if
you want to override the existing values.
availabilityZones
- The Availability Zones in which the service is available.public ServiceConfiguration withAvailabilityZones(Collection<String> availabilityZones)
The Availability Zones in which the service is available.
availabilityZones
- The Availability Zones in which the service is available.public void setAcceptanceRequired(Boolean acceptanceRequired)
Indicates whether requests from other Amazon Web Services accounts to create an endpoint to the service must first be accepted.
acceptanceRequired
- Indicates whether requests from other Amazon Web Services accounts to create an endpoint to the service
must first be accepted.public Boolean getAcceptanceRequired()
Indicates whether requests from other Amazon Web Services accounts to create an endpoint to the service must first be accepted.
public ServiceConfiguration withAcceptanceRequired(Boolean acceptanceRequired)
Indicates whether requests from other Amazon Web Services accounts to create an endpoint to the service must first be accepted.
acceptanceRequired
- Indicates whether requests from other Amazon Web Services accounts to create an endpoint to the service
must first be accepted.public Boolean isAcceptanceRequired()
Indicates whether requests from other Amazon Web Services accounts to create an endpoint to the service must first be accepted.
public void setManagesVpcEndpoints(Boolean managesVpcEndpoints)
Indicates whether the service manages its VPC endpoints. Management of the service VPC endpoints using the VPC endpoint API is restricted.
managesVpcEndpoints
- Indicates whether the service manages its VPC endpoints. Management of the service VPC endpoints using the
VPC endpoint API is restricted.public Boolean getManagesVpcEndpoints()
Indicates whether the service manages its VPC endpoints. Management of the service VPC endpoints using the VPC endpoint API is restricted.
public ServiceConfiguration withManagesVpcEndpoints(Boolean managesVpcEndpoints)
Indicates whether the service manages its VPC endpoints. Management of the service VPC endpoints using the VPC endpoint API is restricted.
managesVpcEndpoints
- Indicates whether the service manages its VPC endpoints. Management of the service VPC endpoints using the
VPC endpoint API is restricted.public Boolean isManagesVpcEndpoints()
Indicates whether the service manages its VPC endpoints. Management of the service VPC endpoints using the VPC endpoint API is restricted.
public List<String> getNetworkLoadBalancerArns()
The Amazon Resource Names (ARNs) of the Network Load Balancers for the service.
public void setNetworkLoadBalancerArns(Collection<String> networkLoadBalancerArns)
The Amazon Resource Names (ARNs) of the Network Load Balancers for the service.
networkLoadBalancerArns
- The Amazon Resource Names (ARNs) of the Network Load Balancers for the service.public ServiceConfiguration withNetworkLoadBalancerArns(String... networkLoadBalancerArns)
The Amazon Resource Names (ARNs) of the Network Load Balancers for the service.
NOTE: This method appends the values to the existing list (if any). Use
setNetworkLoadBalancerArns(java.util.Collection)
or
withNetworkLoadBalancerArns(java.util.Collection)
if you want to override the existing values.
networkLoadBalancerArns
- The Amazon Resource Names (ARNs) of the Network Load Balancers for the service.public ServiceConfiguration withNetworkLoadBalancerArns(Collection<String> networkLoadBalancerArns)
The Amazon Resource Names (ARNs) of the Network Load Balancers for the service.
networkLoadBalancerArns
- The Amazon Resource Names (ARNs) of the Network Load Balancers for the service.public List<String> getGatewayLoadBalancerArns()
The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service.
public void setGatewayLoadBalancerArns(Collection<String> gatewayLoadBalancerArns)
The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service.
gatewayLoadBalancerArns
- The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service.public ServiceConfiguration withGatewayLoadBalancerArns(String... gatewayLoadBalancerArns)
The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service.
NOTE: This method appends the values to the existing list (if any). Use
setGatewayLoadBalancerArns(java.util.Collection)
or
withGatewayLoadBalancerArns(java.util.Collection)
if you want to override the existing values.
gatewayLoadBalancerArns
- The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service.public ServiceConfiguration withGatewayLoadBalancerArns(Collection<String> gatewayLoadBalancerArns)
The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service.
gatewayLoadBalancerArns
- The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service.public List<String> getSupportedIpAddressTypes()
The supported IP address types.
ServiceConnectivityType
public void setSupportedIpAddressTypes(Collection<String> supportedIpAddressTypes)
The supported IP address types.
supportedIpAddressTypes
- The supported IP address types.ServiceConnectivityType
public ServiceConfiguration withSupportedIpAddressTypes(String... supportedIpAddressTypes)
The supported IP address types.
NOTE: This method appends the values to the existing list (if any). Use
setSupportedIpAddressTypes(java.util.Collection)
or
withSupportedIpAddressTypes(java.util.Collection)
if you want to override the existing values.
supportedIpAddressTypes
- The supported IP address types.ServiceConnectivityType
public ServiceConfiguration withSupportedIpAddressTypes(Collection<String> supportedIpAddressTypes)
The supported IP address types.
supportedIpAddressTypes
- The supported IP address types.ServiceConnectivityType
public ServiceConfiguration withSupportedIpAddressTypes(ServiceConnectivityType... supportedIpAddressTypes)
The supported IP address types.
supportedIpAddressTypes
- The supported IP address types.ServiceConnectivityType
public List<String> getBaseEndpointDnsNames()
The DNS names for the service.
public void setBaseEndpointDnsNames(Collection<String> baseEndpointDnsNames)
The DNS names for the service.
baseEndpointDnsNames
- The DNS names for the service.public ServiceConfiguration withBaseEndpointDnsNames(String... baseEndpointDnsNames)
The DNS names for the service.
NOTE: This method appends the values to the existing list (if any). Use
setBaseEndpointDnsNames(java.util.Collection)
or withBaseEndpointDnsNames(java.util.Collection)
if you want to override the existing values.
baseEndpointDnsNames
- The DNS names for the service.public ServiceConfiguration withBaseEndpointDnsNames(Collection<String> baseEndpointDnsNames)
The DNS names for the service.
baseEndpointDnsNames
- The DNS names for the service.public void setPrivateDnsName(String privateDnsName)
The private DNS name for the service.
privateDnsName
- The private DNS name for the service.public String getPrivateDnsName()
The private DNS name for the service.
public ServiceConfiguration withPrivateDnsName(String privateDnsName)
The private DNS name for the service.
privateDnsName
- The private DNS name for the service.public void setPrivateDnsNameConfiguration(PrivateDnsNameConfiguration privateDnsNameConfiguration)
Information about the endpoint service private DNS name configuration.
privateDnsNameConfiguration
- Information about the endpoint service private DNS name configuration.public PrivateDnsNameConfiguration getPrivateDnsNameConfiguration()
Information about the endpoint service private DNS name configuration.
public ServiceConfiguration withPrivateDnsNameConfiguration(PrivateDnsNameConfiguration privateDnsNameConfiguration)
Information about the endpoint service private DNS name configuration.
privateDnsNameConfiguration
- Information about the endpoint service private DNS name configuration.public void setPayerResponsibility(String payerResponsibility)
The payer responsibility.
payerResponsibility
- The payer responsibility.PayerResponsibility
public String getPayerResponsibility()
The payer responsibility.
PayerResponsibility
public ServiceConfiguration withPayerResponsibility(String payerResponsibility)
The payer responsibility.
payerResponsibility
- The payer responsibility.PayerResponsibility
public ServiceConfiguration withPayerResponsibility(PayerResponsibility payerResponsibility)
The payer responsibility.
payerResponsibility
- The payer responsibility.PayerResponsibility
public List<Tag> getTags()
The tags assigned to the service.
public void setTags(Collection<Tag> tags)
The tags assigned to the service.
tags
- The tags assigned to the service.public ServiceConfiguration withTags(Tag... tags)
The tags assigned to the service.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags assigned to the service.public ServiceConfiguration withTags(Collection<Tag> tags)
The tags assigned to the service.
tags
- The tags assigned to the service.public String toString()
toString
in class Object
Object.toString()
public ServiceConfiguration clone()