Package com.amazonaws.services.ec2.model
Class Region
java.lang.Object
com.amazonaws.services.ec2.model.Region
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a region.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The region service endpoint.The name of the region.int
hashCode()
void
setEndpoint
(String endpoint) The region service endpoint.void
setRegionName
(String regionName) The name of the region.toString()
Returns a string representation of this object; useful for testing and debugging.withEndpoint
(String endpoint) The region service endpoint.withRegionName
(String regionName) The name of the region.
-
Constructor Details
-
Region
public Region()
-
-
Method Details
-
setRegionName
The name of the region.
- Parameters:
regionName
- The name of the region.
-
getRegionName
The name of the region.
- Returns:
- The name of the region.
-
withRegionName
The name of the region.
- Parameters:
regionName
- The name of the region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEndpoint
The region service endpoint.
- Parameters:
endpoint
- The region service endpoint.
-
getEndpoint
The region service endpoint.
- Returns:
- The region service endpoint.
-
withEndpoint
The region service endpoint.
- Parameters:
endpoint
- The region service endpoint.- 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
-