@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 AWS accounts to create an endpoint to the service must first be accepted.
|
List<String> |
getAvailabilityZones()
In the Availability Zones in which the service is available.
|
List<String> |
getBaseEndpointDnsNames()
The DNS names for the service.
|
List<String> |
getNetworkLoadBalancerArns()
The Amazon Resource Names (ARNs) of the Network Load Balancers for the service.
|
String |
getPrivateDnsName()
The private DNS name for the service.
|
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.
|
int |
hashCode() |
Boolean |
isAcceptanceRequired()
Indicates whether requests from other AWS accounts to create an endpoint to the service must first be accepted.
|
void |
setAcceptanceRequired(Boolean acceptanceRequired)
Indicates whether requests from other AWS accounts to create an endpoint to the service must first be accepted.
|
void |
setAvailabilityZones(Collection<String> availabilityZones)
In the Availability Zones in which the service is available.
|
void |
setBaseEndpointDnsNames(Collection<String> baseEndpointDnsNames)
The DNS names for the service.
|
void |
setNetworkLoadBalancerArns(Collection<String> networkLoadBalancerArns)
The Amazon Resource Names (ARNs) of the Network Load Balancers for the service.
|
void |
setPrivateDnsName(String privateDnsName)
The private DNS name for the service.
|
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ServiceConfiguration |
withAcceptanceRequired(Boolean acceptanceRequired)
Indicates whether requests from other AWS accounts to create an endpoint to the service must first be accepted.
|
ServiceConfiguration |
withAvailabilityZones(Collection<String> availabilityZones)
In the Availability Zones in which the service is available.
|
ServiceConfiguration |
withAvailabilityZones(String... availabilityZones)
In 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 |
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 |
withPrivateDnsName(String privateDnsName)
The private DNS name for the service.
|
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.
|
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()
In the Availability Zones in which the service is available.
public void setAvailabilityZones(Collection<String> availabilityZones)
In the Availability Zones in which the service is available.
availabilityZones
- In the Availability Zones in which the service is available.public ServiceConfiguration withAvailabilityZones(String... availabilityZones)
In 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
- In the Availability Zones in which the service is available.public ServiceConfiguration withAvailabilityZones(Collection<String> availabilityZones)
In the Availability Zones in which the service is available.
availabilityZones
- In the Availability Zones in which the service is available.public void setAcceptanceRequired(Boolean acceptanceRequired)
Indicates whether requests from other AWS accounts to create an endpoint to the service must first be accepted.
acceptanceRequired
- Indicates whether requests from other AWS accounts to create an endpoint to the service must first be
accepted.public Boolean getAcceptanceRequired()
Indicates whether requests from other AWS accounts to create an endpoint to the service must first be accepted.
public ServiceConfiguration withAcceptanceRequired(Boolean acceptanceRequired)
Indicates whether requests from other AWS accounts to create an endpoint to the service must first be accepted.
acceptanceRequired
- Indicates whether requests from other AWS accounts to create an endpoint to the service must first be
accepted.public Boolean isAcceptanceRequired()
Indicates whether requests from other AWS accounts to create an endpoint to the service must first be accepted.
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> 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 String toString()
toString
in class Object
Object.toString()
public ServiceConfiguration clone()
Copyright © 2017. All rights reserved.