Class SetIpAddressTypeRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.lightsail.model.LightsailRequest
-
- software.amazon.awssdk.services.lightsail.model.SetIpAddressTypeRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<SetIpAddressTypeRequest.Builder,SetIpAddressTypeRequest>
@Generated("software.amazon.awssdk:codegen") public final class SetIpAddressTypeRequest extends LightsailRequest implements ToCopyableBuilder<SetIpAddressTypeRequest.Builder,SetIpAddressTypeRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSetIpAddressTypeRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SetIpAddressTypeRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IpAddressTypeipAddressType()The IP address type to set for the specified resource.StringipAddressTypeAsString()The IP address type to set for the specified resource.StringresourceName()The name of the resource for which to set the IP address type.ResourceTyperesourceType()The resource type.StringresourceTypeAsString()The resource type.List<SdkField<?>>sdkFields()static Class<? extends SetIpAddressTypeRequest.Builder>serializableBuilderClass()SetIpAddressTypeRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
resourceType
public final ResourceType resourceType()
The resource type.
The resource values are
Distribution,Instance, andLoadBalancer.Distribution-related APIs are available only in the N. Virginia (
us-east-1) Amazon Web Services Region. Set your Amazon Web Services Region configuration tous-east-1to create, view, or edit distributions.If the service returns an enum value that is not available in the current SDK version,
resourceTypewill returnResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceTypeAsString().- Returns:
- The resource type.
The resource values are
Distribution,Instance, andLoadBalancer.Distribution-related APIs are available only in the N. Virginia (
us-east-1) Amazon Web Services Region. Set your Amazon Web Services Region configuration tous-east-1to create, view, or edit distributions. - See Also:
ResourceType
-
resourceTypeAsString
public final String resourceTypeAsString()
The resource type.
The resource values are
Distribution,Instance, andLoadBalancer.Distribution-related APIs are available only in the N. Virginia (
us-east-1) Amazon Web Services Region. Set your Amazon Web Services Region configuration tous-east-1to create, view, or edit distributions.If the service returns an enum value that is not available in the current SDK version,
resourceTypewill returnResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceTypeAsString().- Returns:
- The resource type.
The resource values are
Distribution,Instance, andLoadBalancer.Distribution-related APIs are available only in the N. Virginia (
us-east-1) Amazon Web Services Region. Set your Amazon Web Services Region configuration tous-east-1to create, view, or edit distributions. - See Also:
ResourceType
-
resourceName
public final String resourceName()
The name of the resource for which to set the IP address type.
- Returns:
- The name of the resource for which to set the IP address type.
-
ipAddressType
public final IpAddressType ipAddressType()
The IP address type to set for the specified resource.
The possible values are
ipv4for IPv4 only, anddualstackfor IPv4 and IPv6.If the service returns an enum value that is not available in the current SDK version,
ipAddressTypewill returnIpAddressType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromipAddressTypeAsString().- Returns:
- The IP address type to set for the specified resource.
The possible values are
ipv4for IPv4 only, anddualstackfor IPv4 and IPv6. - See Also:
IpAddressType
-
ipAddressTypeAsString
public final String ipAddressTypeAsString()
The IP address type to set for the specified resource.
The possible values are
ipv4for IPv4 only, anddualstackfor IPv4 and IPv6.If the service returns an enum value that is not available in the current SDK version,
ipAddressTypewill returnIpAddressType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromipAddressTypeAsString().- Returns:
- The IP address type to set for the specified resource.
The possible values are
ipv4for IPv4 only, anddualstackfor IPv4 and IPv6. - See Also:
IpAddressType
-
toBuilder
public SetIpAddressTypeRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SetIpAddressTypeRequest.Builder,SetIpAddressTypeRequest>- Specified by:
toBuilderin classLightsailRequest
-
builder
public static SetIpAddressTypeRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends SetIpAddressTypeRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-