@Generated(value="software.amazon.awssdk:codegen") public final class ServiceConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ServiceConfiguration.Builder,ServiceConfiguration>
Describes a service configuration for a VPC endpoint service.
Modifier and Type | Class and Description |
---|---|
static interface |
ServiceConfiguration.Builder |
Modifier and Type | Method and Description |
---|---|
Boolean |
acceptanceRequired()
Indicates whether requests from other AWS accounts to create an endpoint to the service must first be accepted.
|
List<String> |
availabilityZones()
The Availability Zones in which the service is available.
|
List<String> |
baseEndpointDnsNames()
The DNS names for the service.
|
static ServiceConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
List<String> |
gatewayLoadBalancerArns()
The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAvailabilityZones()
Returns true if the AvailabilityZones property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasBaseEndpointDnsNames()
Returns true if the BaseEndpointDnsNames property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasGatewayLoadBalancerArns()
Returns true if the GatewayLoadBalancerArns property was specified by the sender (it may be empty), or false if
the sender did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasNetworkLoadBalancerArns()
Returns true if the NetworkLoadBalancerArns property was specified by the sender (it may be empty), or false if
the sender did not specify the value (it will be empty).
|
boolean |
hasServiceType()
Returns true if the ServiceType property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
Boolean |
managesVpcEndpoints()
Indicates whether the service manages its VPC endpoints.
|
List<String> |
networkLoadBalancerArns()
The Amazon Resource Names (ARNs) of the Network Load Balancers for the service.
|
String |
privateDnsName()
The private DNS name for the service.
|
PrivateDnsNameConfiguration |
privateDnsNameConfiguration()
Information about the endpoint service private DNS name configuration.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ServiceConfiguration.Builder> |
serializableBuilderClass() |
String |
serviceId()
The ID of the service.
|
String |
serviceName()
The name of the service.
|
ServiceState |
serviceState()
The service state.
|
String |
serviceStateAsString()
The service state.
|
List<ServiceTypeDetail> |
serviceType()
The type of service.
|
List<Tag> |
tags()
Any tags assigned to the service.
|
ServiceConfiguration.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
copy
public final boolean hasServiceType()
public final List<ServiceTypeDetail> serviceType()
The type of service.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasServiceType()
to see if a value was sent in this field.
public final String serviceId()
The ID of the service.
public final String serviceName()
The name of the service.
public final ServiceState serviceState()
The service state.
If the service returns an enum value that is not available in the current SDK version, serviceState
will
return ServiceState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
serviceStateAsString()
.
ServiceState
public final String serviceStateAsString()
The service state.
If the service returns an enum value that is not available in the current SDK version, serviceState
will
return ServiceState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
serviceStateAsString()
.
ServiceState
public final boolean hasAvailabilityZones()
public final List<String> availabilityZones()
The Availability Zones in which the service is available.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAvailabilityZones()
to see if a value was sent in this field.
public final Boolean acceptanceRequired()
Indicates whether requests from other AWS accounts to create an endpoint to the service must first be accepted.
public final Boolean managesVpcEndpoints()
Indicates whether the service manages its VPC endpoints. Management of the service VPC endpoints using the VPC endpoint API is restricted.
public final boolean hasNetworkLoadBalancerArns()
public final List<String> networkLoadBalancerArns()
The Amazon Resource Names (ARNs) of the Network Load Balancers for the service.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasNetworkLoadBalancerArns()
to see if a value was sent in this field.
public final boolean hasGatewayLoadBalancerArns()
public final List<String> gatewayLoadBalancerArns()
The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasGatewayLoadBalancerArns()
to see if a value was sent in this field.
public final boolean hasBaseEndpointDnsNames()
public final List<String> baseEndpointDnsNames()
The DNS names for the service.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasBaseEndpointDnsNames()
to see if a value was sent in this field.
public final String privateDnsName()
The private DNS name for the service.
public final PrivateDnsNameConfiguration privateDnsNameConfiguration()
Information about the endpoint service private DNS name configuration.
public final boolean hasTags()
public final List<Tag> tags()
Any tags assigned to the service.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags()
to see if a value was sent in this field.
public ServiceConfiguration.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ServiceConfiguration.Builder,ServiceConfiguration>
public static ServiceConfiguration.Builder builder()
public static Class<? extends ServiceConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.