public class RegisterElasticIpRequest extends AmazonWebServiceRequest implements Serializable
RegisterElasticIp operation
.
Registers an Elastic IP address with a specified stack. An address can be registered with only one stack at a time. If the address is already registered, you must first deregister it by calling DeregisterElasticIp. For more information, see .
Constructor and Description |
---|
RegisterElasticIpRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getElasticIp()
The Elastic IP address.
|
String |
getStackId()
The stack ID.
|
int |
hashCode() |
void |
setElasticIp(String elasticIp)
The Elastic IP address.
|
void |
setStackId(String stackId)
The stack ID.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RegisterElasticIpRequest |
withElasticIp(String elasticIp)
The Elastic IP address.
|
RegisterElasticIpRequest |
withStackId(String stackId)
The stack ID.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public String getElasticIp()
public void setElasticIp(String elasticIp)
elasticIp
- The Elastic IP address.public RegisterElasticIpRequest withElasticIp(String elasticIp)
Returns a reference to this object so that method calls can be chained together.
elasticIp
- The Elastic IP address.public String getStackId()
public void setStackId(String stackId)
stackId
- The stack ID.public RegisterElasticIpRequest withStackId(String stackId)
Returns a reference to this object so that method calls can be chained together.
stackId
- The stack ID.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.