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()
boolean
The domain.The ID of the instance that the address is attached to.getIp()
The IP address.getName()
The name.The AWS region.int
hashCode()
void
The domain.void
setInstanceId
(String instanceId) The ID of the instance that the address is attached to.void
The IP address.void
The name.void
The 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
The IP address.
- Parameters:
ip
- The IP address.
-
getIp
The IP address.
- Returns:
- The IP address.
-
withIp
The IP address.
- Parameters:
ip
- The IP address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
The name.
- Parameters:
name
- The name.
-
getName
The name.
- Returns:
- The name.
-
withName
The name.
- Parameters:
name
- The name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDomain
The domain.
- Parameters:
domain
- The domain.
-
getDomain
The domain.
- Returns:
- The domain.
-
withDomain
The domain.
- Parameters:
domain
- The domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
The ID of the instance that the address is attached to.
- Parameters:
instanceId
- The ID of the instance that the address is attached to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-