@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReleaseAddressRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ReleaseAddressRequest>
NOOP
Constructor and Description |
---|
ReleaseAddressRequest()
Default constructor for ReleaseAddressRequest object.
|
ReleaseAddressRequest(String publicIp)
Constructs a new ReleaseAddressRequest object.
|
Modifier and Type | Method and Description |
---|---|
ReleaseAddressRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAllocationId()
[EC2-VPC] The allocation ID.
|
Request<ReleaseAddressRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getNetworkBorderGroup()
The set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP
addresses.
|
String |
getPublicIp()
[EC2-Classic] The Elastic IP address.
|
int |
hashCode() |
void |
setAllocationId(String allocationId)
[EC2-VPC] The allocation ID.
|
void |
setNetworkBorderGroup(String networkBorderGroup)
The set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP
addresses.
|
void |
setPublicIp(String publicIp)
[EC2-Classic] The Elastic IP address.
|
String |
toString()
Returns a string representation of this object.
|
ReleaseAddressRequest |
withAllocationId(String allocationId)
[EC2-VPC] The allocation ID.
|
ReleaseAddressRequest |
withNetworkBorderGroup(String networkBorderGroup)
The set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP
addresses.
|
ReleaseAddressRequest |
withPublicIp(String publicIp)
[EC2-Classic] The Elastic IP address.
|
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 ReleaseAddressRequest()
public ReleaseAddressRequest(String publicIp)
publicIp
- [EC2-Classic] The Elastic IP address. Required for EC2-Classic.public void setAllocationId(String allocationId)
[EC2-VPC] The allocation ID. Required for EC2-VPC.
allocationId
- [EC2-VPC] The allocation ID. Required for EC2-VPC.public String getAllocationId()
[EC2-VPC] The allocation ID. Required for EC2-VPC.
public ReleaseAddressRequest withAllocationId(String allocationId)
[EC2-VPC] The allocation ID. Required for EC2-VPC.
allocationId
- [EC2-VPC] The allocation ID. Required for EC2-VPC.public void setPublicIp(String publicIp)
[EC2-Classic] The Elastic IP address. Required for EC2-Classic.
publicIp
- [EC2-Classic] The Elastic IP address. Required for EC2-Classic.public String getPublicIp()
[EC2-Classic] The Elastic IP address. Required for EC2-Classic.
public ReleaseAddressRequest withPublicIp(String publicIp)
[EC2-Classic] The Elastic IP address. Required for EC2-Classic.
publicIp
- [EC2-Classic] The Elastic IP address. Required for EC2-Classic.public void setNetworkBorderGroup(String networkBorderGroup)
The set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.
If you provide an incorrect network border group, you receive an InvalidAddress.NotFound
error.
You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 classic, you receive
an InvalidParameterCombination
error.
networkBorderGroup
- The set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises
IP addresses.
If you provide an incorrect network border group, you receive an InvalidAddress.NotFound
error.
You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 classic, you
receive an InvalidParameterCombination
error.
public String getNetworkBorderGroup()
The set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.
If you provide an incorrect network border group, you receive an InvalidAddress.NotFound
error.
You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 classic, you receive
an InvalidParameterCombination
error.
If you provide an incorrect network border group, you receive an InvalidAddress.NotFound
error.
You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 classic, you
receive an InvalidParameterCombination
error.
public ReleaseAddressRequest withNetworkBorderGroup(String networkBorderGroup)
The set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.
If you provide an incorrect network border group, you receive an InvalidAddress.NotFound
error.
You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 classic, you receive
an InvalidParameterCombination
error.
networkBorderGroup
- The set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises
IP addresses.
If you provide an incorrect network border group, you receive an InvalidAddress.NotFound
error.
You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 classic, you
receive an InvalidParameterCombination
error.
public Request<ReleaseAddressRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ReleaseAddressRequest>
public String toString()
toString
in class Object
Object.toString()
public ReleaseAddressRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()