@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 location that the IP address is released from.
|
String |
getPublicIp()
[EC2-Classic] The Elastic IP address.
|
int |
hashCode() |
void |
setAllocationId(String allocationId)
[EC2-VPC] The allocation ID.
|
void |
setNetworkBorderGroup(String networkBorderGroup)
The location that the IP address is released from.
|
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 location that the IP address is released from.
|
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 location that the IP address is released from.
If you provide an incorrect network border group, you will receive an InvalidAddress.NotFound
error.
For more information, see Error Codes.
You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 classic, you will
receive an InvalidParameterCombination
error. For more information, see Error Codes.
networkBorderGroup
- The location that the IP address is released from.
If you provide an incorrect network border group, you will receive an InvalidAddress.NotFound
error. For more information, see Error Codes.
You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 classic, you
will receive an InvalidParameterCombination
error. For more information, see Error Codes.
public String getNetworkBorderGroup()
The location that the IP address is released from.
If you provide an incorrect network border group, you will receive an InvalidAddress.NotFound
error.
For more information, see Error Codes.
You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 classic, you will
receive an InvalidParameterCombination
error. For more information, see Error Codes.
If you provide an incorrect network border group, you will receive an
InvalidAddress.NotFound
error. For more information, see Error Codes.
You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 classic, you
will receive an InvalidParameterCombination
error. For more information, see Error Codes.
public ReleaseAddressRequest withNetworkBorderGroup(String networkBorderGroup)
The location that the IP address is released from.
If you provide an incorrect network border group, you will receive an InvalidAddress.NotFound
error.
For more information, see Error Codes.
You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 classic, you will
receive an InvalidParameterCombination
error. For more information, see Error Codes.
networkBorderGroup
- The location that the IP address is released from.
If you provide an incorrect network border group, you will receive an InvalidAddress.NotFound
error. For more information, see Error Codes.
You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 classic, you
will receive an InvalidParameterCombination
error. For more information, see Error Codes.
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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.