@Generated(value="software.amazon.awssdk:codegen") public final class SetIpAddressTypeRequest extends LightsailRequest implements ToCopyableBuilder<SetIpAddressTypeRequest.Builder,SetIpAddressTypeRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
SetIpAddressTypeRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SetIpAddressTypeRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
IpAddressType |
ipAddressType()
The IP address type to set for the specified resource.
|
String |
ipAddressTypeAsString()
The IP address type to set for the specified resource.
|
String |
resourceName()
The name of the resource for which to set the IP address type.
|
ResourceType |
resourceType()
The resource type.
|
String |
resourceTypeAsString()
The resource type.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SetIpAddressTypeRequest.Builder> |
serializableBuilderClass() |
SetIpAddressTypeRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ResourceType resourceType()
The resource type.
The possible values are Distribution, Instance, and LoadBalancer.
Distribution-related APIs are available only in the N. Virginia (us-east-1) AWS Region. Set your AWS
Region configuration to us-east-1 to create, view, or edit distributions.
If the service returns an enum value that is not available in the current SDK version, resourceType will
return ResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
resourceTypeAsString().
The possible values are Distribution, Instance, and LoadBalancer.
Distribution-related APIs are available only in the N. Virginia (us-east-1) AWS Region. Set
your AWS Region configuration to us-east-1 to create, view, or edit distributions.
ResourceTypepublic final String resourceTypeAsString()
The resource type.
The possible values are Distribution, Instance, and LoadBalancer.
Distribution-related APIs are available only in the N. Virginia (us-east-1) AWS Region. Set your AWS
Region configuration to us-east-1 to create, view, or edit distributions.
If the service returns an enum value that is not available in the current SDK version, resourceType will
return ResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
resourceTypeAsString().
The possible values are Distribution, Instance, and LoadBalancer.
Distribution-related APIs are available only in the N. Virginia (us-east-1) AWS Region. Set
your AWS Region configuration to us-east-1 to create, view, or edit distributions.
ResourceTypepublic final String resourceName()
The name of the resource for which to set the IP address type.
public final IpAddressType ipAddressType()
The IP address type to set for the specified resource.
The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6.
If the service returns an enum value that is not available in the current SDK version, ipAddressType
will return IpAddressType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
ipAddressTypeAsString().
The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6.
IpAddressTypepublic final String ipAddressTypeAsString()
The IP address type to set for the specified resource.
The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6.
If the service returns an enum value that is not available in the current SDK version, ipAddressType
will return IpAddressType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
ipAddressTypeAsString().
The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6.
IpAddressTypepublic SetIpAddressTypeRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SetIpAddressTypeRequest.Builder,SetIpAddressTypeRequest>toBuilder in class LightsailRequestpublic static SetIpAddressTypeRequest.Builder builder()
public static Class<? extends SetIpAddressTypeRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.