Class ElasticIp
java.lang.Object
com.amazonaws.services.opsworks.model.ElasticIp
- All Implemented Interfaces:
Serializable, Cloneable
Describes an Elastic IP address.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe domain.The ID of the instance that the address is attached to.getIp()The IP address.getName()The name.The AWS region.inthashCode()voidThe domain.voidsetInstanceId(String instanceId) The ID of the instance that the address is attached to.voidThe IP address.voidThe name.voidThe AWS region.toString()Returns a string representation of this object; useful for testing and debugging.withDomain(String domain) The domain.withInstanceId(String instanceId) The ID of the instance that the address is attached to.The IP address.The name.withRegion(String region) The AWS region.
-
Constructor Details
-
ElasticIp
public ElasticIp()
-
-
Method Details
-
setIp
-
getIp
-
withIp
-
setName
-
getName
-
withName
-
setDomain
-
getDomain
-
withDomain
-
setRegion
The AWS region. For more information, see Regions and Endpoints.
- Parameters:
region- The AWS region. For more information, see Regions and Endpoints.
-
getRegion
The AWS region. For more information, see Regions and Endpoints.
- Returns:
- The AWS region. For more information, see Regions and Endpoints.
-
withRegion
The AWS region. For more information, see Regions and Endpoints.
- Parameters:
region- The AWS region. For more information, see Regions and Endpoints.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInstanceId
The ID of the instance that the address is attached to.
- Parameters:
instanceId- The ID of the instance that the address is attached to.
-
getInstanceId
The ID of the instance that the address is attached to.
- Returns:
- The ID of the instance that the address is attached to.
-
withInstanceId
-
toString
-
equals
-
hashCode
-
clone
-