@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SetIpAddressTypeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
SetIpAddressTypeRequest() |
Modifier and Type | Method and Description |
---|---|
SetIpAddressTypeRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getIpAddressType()
The IP address type to set for the specified resource.
|
String |
getResourceName()
The name of the resource for which to set the IP address type.
|
String |
getResourceType()
The resource type.
|
int |
hashCode() |
void |
setIpAddressType(String ipAddressType)
The IP address type to set for the specified resource.
|
void |
setResourceName(String resourceName)
The name of the resource for which to set the IP address type.
|
void |
setResourceType(String resourceType)
The resource type.
|
String |
toString()
Returns a string representation of this object.
|
SetIpAddressTypeRequest |
withIpAddressType(IpAddressType ipAddressType)
The IP address type to set for the specified resource.
|
SetIpAddressTypeRequest |
withIpAddressType(String ipAddressType)
The IP address type to set for the specified resource.
|
SetIpAddressTypeRequest |
withResourceName(String resourceName)
The name of the resource for which to set the IP address type.
|
SetIpAddressTypeRequest |
withResourceType(ResourceType resourceType)
The resource type.
|
SetIpAddressTypeRequest |
withResourceType(String resourceType)
The resource type.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setResourceType(String resourceType)
The resource type.
The resource values are Distribution
, Instance
, and LoadBalancer
.
Distribution-related APIs are available only in the N. Virginia (us-east-1
) Amazon Web Services
Region. Set your Amazon Web Services Region configuration to us-east-1
to create, view, or edit
distributions.
resourceType
- The resource type.
The resource values are Distribution
, Instance
, and LoadBalancer
.
Distribution-related APIs are available only in the N. Virginia (us-east-1
) Amazon Web
Services Region. Set your Amazon Web Services Region configuration to us-east-1
to create,
view, or edit distributions.
ResourceType
public String getResourceType()
The resource type.
The resource values are Distribution
, Instance
, and LoadBalancer
.
Distribution-related APIs are available only in the N. Virginia (us-east-1
) Amazon Web Services
Region. Set your Amazon Web Services Region configuration to us-east-1
to create, view, or edit
distributions.
The resource values are Distribution
, Instance
, and LoadBalancer
.
Distribution-related APIs are available only in the N. Virginia (us-east-1
) Amazon Web
Services Region. Set your Amazon Web Services Region configuration to us-east-1
to create,
view, or edit distributions.
ResourceType
public SetIpAddressTypeRequest withResourceType(String resourceType)
The resource type.
The resource values are Distribution
, Instance
, and LoadBalancer
.
Distribution-related APIs are available only in the N. Virginia (us-east-1
) Amazon Web Services
Region. Set your Amazon Web Services Region configuration to us-east-1
to create, view, or edit
distributions.
resourceType
- The resource type.
The resource values are Distribution
, Instance
, and LoadBalancer
.
Distribution-related APIs are available only in the N. Virginia (us-east-1
) Amazon Web
Services Region. Set your Amazon Web Services Region configuration to us-east-1
to create,
view, or edit distributions.
ResourceType
public SetIpAddressTypeRequest withResourceType(ResourceType resourceType)
The resource type.
The resource values are Distribution
, Instance
, and LoadBalancer
.
Distribution-related APIs are available only in the N. Virginia (us-east-1
) Amazon Web Services
Region. Set your Amazon Web Services Region configuration to us-east-1
to create, view, or edit
distributions.
resourceType
- The resource type.
The resource values are Distribution
, Instance
, and LoadBalancer
.
Distribution-related APIs are available only in the N. Virginia (us-east-1
) Amazon Web
Services Region. Set your Amazon Web Services Region configuration to us-east-1
to create,
view, or edit distributions.
ResourceType
public void setResourceName(String resourceName)
The name of the resource for which to set the IP address type.
resourceName
- The name of the resource for which to set the IP address type.public String getResourceName()
The name of the resource for which to set the IP address type.
public SetIpAddressTypeRequest withResourceName(String resourceName)
The name of the resource for which to set the IP address type.
resourceName
- The name of the resource for which to set the IP address type.public void setIpAddressType(String 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.
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.
IpAddressType
public String getIpAddressType()
The IP address type to set for the specified resource.
The possible values are ipv4
for IPv4 only, and dualstack
for IPv4 and IPv6.
The possible values are ipv4
for IPv4 only, and dualstack
for IPv4 and IPv6.
IpAddressType
public SetIpAddressTypeRequest withIpAddressType(String 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.
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.
IpAddressType
public SetIpAddressTypeRequest withIpAddressType(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.
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.
IpAddressType
public String toString()
toString
in class Object
Object.toString()
public SetIpAddressTypeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()