@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 Amazon Web Services 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) |
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()
For responses, this returns true if the service returned a value for the AvailabilityZones property.
|
boolean |
hasBaseEndpointDnsNames()
For responses, this returns true if the service returned a value for the BaseEndpointDnsNames property.
|
boolean |
hasGatewayLoadBalancerArns()
For responses, this returns true if the service returned a value for the GatewayLoadBalancerArns property.
|
int |
hashCode() |
boolean |
hasNetworkLoadBalancerArns()
For responses, this returns true if the service returned a value for the NetworkLoadBalancerArns property.
|
boolean |
hasServiceType()
For responses, this returns true if the service returned a value for the ServiceType property.
|
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
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.
|
PayerResponsibility |
payerResponsibility()
The payer responsibility.
|
String |
payerResponsibilityAsString()
The payer responsibility.
|
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() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final boolean hasServiceType()
isEmpty()
method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<ServiceTypeDetail> serviceType()
The type of service.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasServiceType()
method.
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()
isEmpty()
method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAvailabilityZones()
method.
public final Boolean acceptanceRequired()
Indicates whether requests from other Amazon Web Services 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()
isEmpty()
method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasNetworkLoadBalancerArns()
method.
public final boolean hasGatewayLoadBalancerArns()
isEmpty()
method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasGatewayLoadBalancerArns()
method.
public final boolean hasBaseEndpointDnsNames()
isEmpty()
method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasBaseEndpointDnsNames()
method.
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 PayerResponsibility payerResponsibility()
The payer responsibility.
If the service returns an enum value that is not available in the current SDK version,
payerResponsibility
will return PayerResponsibility.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from payerResponsibilityAsString()
.
PayerResponsibility
public final String payerResponsibilityAsString()
The payer responsibility.
If the service returns an enum value that is not available in the current SDK version,
payerResponsibility
will return PayerResponsibility.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from payerResponsibilityAsString()
.
PayerResponsibility
public final boolean hasTags()
isEmpty()
method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags()
method.
public ServiceConfiguration.Builder toBuilder()
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)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2022. All rights reserved.