@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IpamScope extends Object implements Serializable, Cloneable
In IPAM, a scope is the highest-level container within IPAM. An IPAM contains two default scopes. Each scope represents the IP space for a single network. The private scope is intended for all private IP address space. The public scope is intended for all public IP address space. Scopes enable you to reuse IP addresses across multiple unconnected networks without causing IP address overlap or conflict.
For more information, see How IPAM works in the Amazon VPC IPAM User Guide.
Constructor and Description |
---|
IpamScope() |
Modifier and Type | Method and Description |
---|---|
IpamScope |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
The description of the scope.
|
String |
getIpamArn()
The ARN of the IPAM.
|
String |
getIpamRegion()
The Amazon Web Services Region of the IPAM scope.
|
String |
getIpamScopeArn()
The Amazon Resource Name (ARN) of the scope.
|
String |
getIpamScopeId()
The ID of the scope.
|
String |
getIpamScopeType()
The type of the scope.
|
Boolean |
getIsDefault()
Defines if the scope is the default scope or not.
|
String |
getOwnerId()
The Amazon Web Services account ID of the owner of the scope.
|
Integer |
getPoolCount()
The number of pools in the scope.
|
String |
getState()
The state of the IPAM scope.
|
List<Tag> |
getTags()
The key/value combination of a tag assigned to the resource.
|
int |
hashCode() |
Boolean |
isDefault()
Defines if the scope is the default scope or not.
|
void |
setDescription(String description)
The description of the scope.
|
void |
setIpamArn(String ipamArn)
The ARN of the IPAM.
|
void |
setIpamRegion(String ipamRegion)
The Amazon Web Services Region of the IPAM scope.
|
void |
setIpamScopeArn(String ipamScopeArn)
The Amazon Resource Name (ARN) of the scope.
|
void |
setIpamScopeId(String ipamScopeId)
The ID of the scope.
|
void |
setIpamScopeType(String ipamScopeType)
The type of the scope.
|
void |
setIsDefault(Boolean isDefault)
Defines if the scope is the default scope or not.
|
void |
setOwnerId(String ownerId)
The Amazon Web Services account ID of the owner of the scope.
|
void |
setPoolCount(Integer poolCount)
The number of pools in the scope.
|
void |
setState(String state)
The state of the IPAM scope.
|
void |
setTags(Collection<Tag> tags)
The key/value combination of a tag assigned to the resource.
|
String |
toString()
Returns a string representation of this object.
|
IpamScope |
withDescription(String description)
The description of the scope.
|
IpamScope |
withIpamArn(String ipamArn)
The ARN of the IPAM.
|
IpamScope |
withIpamRegion(String ipamRegion)
The Amazon Web Services Region of the IPAM scope.
|
IpamScope |
withIpamScopeArn(String ipamScopeArn)
The Amazon Resource Name (ARN) of the scope.
|
IpamScope |
withIpamScopeId(String ipamScopeId)
The ID of the scope.
|
IpamScope |
withIpamScopeType(IpamScopeType ipamScopeType)
The type of the scope.
|
IpamScope |
withIpamScopeType(String ipamScopeType)
The type of the scope.
|
IpamScope |
withIsDefault(Boolean isDefault)
Defines if the scope is the default scope or not.
|
IpamScope |
withOwnerId(String ownerId)
The Amazon Web Services account ID of the owner of the scope.
|
IpamScope |
withPoolCount(Integer poolCount)
The number of pools in the scope.
|
IpamScope |
withState(IpamScopeState state)
The state of the IPAM scope.
|
IpamScope |
withState(String state)
The state of the IPAM scope.
|
IpamScope |
withTags(Collection<Tag> tags)
The key/value combination of a tag assigned to the resource.
|
IpamScope |
withTags(Tag... tags)
The key/value combination of a tag assigned to the resource.
|
public void setOwnerId(String ownerId)
The Amazon Web Services account ID of the owner of the scope.
ownerId
- The Amazon Web Services account ID of the owner of the scope.public String getOwnerId()
The Amazon Web Services account ID of the owner of the scope.
public IpamScope withOwnerId(String ownerId)
The Amazon Web Services account ID of the owner of the scope.
ownerId
- The Amazon Web Services account ID of the owner of the scope.public void setIpamScopeId(String ipamScopeId)
The ID of the scope.
ipamScopeId
- The ID of the scope.public String getIpamScopeId()
The ID of the scope.
public IpamScope withIpamScopeId(String ipamScopeId)
The ID of the scope.
ipamScopeId
- The ID of the scope.public void setIpamScopeArn(String ipamScopeArn)
The Amazon Resource Name (ARN) of the scope.
ipamScopeArn
- The Amazon Resource Name (ARN) of the scope.public String getIpamScopeArn()
The Amazon Resource Name (ARN) of the scope.
public IpamScope withIpamScopeArn(String ipamScopeArn)
The Amazon Resource Name (ARN) of the scope.
ipamScopeArn
- The Amazon Resource Name (ARN) of the scope.public void setIpamArn(String ipamArn)
The ARN of the IPAM.
ipamArn
- The ARN of the IPAM.public String getIpamArn()
The ARN of the IPAM.
public IpamScope withIpamArn(String ipamArn)
The ARN of the IPAM.
ipamArn
- The ARN of the IPAM.public void setIpamRegion(String ipamRegion)
The Amazon Web Services Region of the IPAM scope.
ipamRegion
- The Amazon Web Services Region of the IPAM scope.public String getIpamRegion()
The Amazon Web Services Region of the IPAM scope.
public IpamScope withIpamRegion(String ipamRegion)
The Amazon Web Services Region of the IPAM scope.
ipamRegion
- The Amazon Web Services Region of the IPAM scope.public void setIpamScopeType(String ipamScopeType)
The type of the scope.
ipamScopeType
- The type of the scope.IpamScopeType
public String getIpamScopeType()
The type of the scope.
IpamScopeType
public IpamScope withIpamScopeType(String ipamScopeType)
The type of the scope.
ipamScopeType
- The type of the scope.IpamScopeType
public IpamScope withIpamScopeType(IpamScopeType ipamScopeType)
The type of the scope.
ipamScopeType
- The type of the scope.IpamScopeType
public void setIsDefault(Boolean isDefault)
Defines if the scope is the default scope or not.
isDefault
- Defines if the scope is the default scope or not.public Boolean getIsDefault()
Defines if the scope is the default scope or not.
public IpamScope withIsDefault(Boolean isDefault)
Defines if the scope is the default scope or not.
isDefault
- Defines if the scope is the default scope or not.public Boolean isDefault()
Defines if the scope is the default scope or not.
public void setDescription(String description)
The description of the scope.
description
- The description of the scope.public String getDescription()
The description of the scope.
public IpamScope withDescription(String description)
The description of the scope.
description
- The description of the scope.public void setPoolCount(Integer poolCount)
The number of pools in the scope.
poolCount
- The number of pools in the scope.public Integer getPoolCount()
The number of pools in the scope.
public IpamScope withPoolCount(Integer poolCount)
The number of pools in the scope.
poolCount
- The number of pools in the scope.public void setState(String state)
The state of the IPAM scope.
state
- The state of the IPAM scope.IpamScopeState
public String getState()
The state of the IPAM scope.
IpamScopeState
public IpamScope withState(String state)
The state of the IPAM scope.
state
- The state of the IPAM scope.IpamScopeState
public IpamScope withState(IpamScopeState state)
The state of the IPAM scope.
state
- The state of the IPAM scope.IpamScopeState
public List<Tag> getTags()
The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value
as the filter value. For example, to find all resources that have a tag with the key Owner
and the
value TeamA
, specify tag:Owner
for the filter name and TeamA
for the
filter value.
Owner
and the value TeamA
, specify tag:Owner
for the filter name
and TeamA
for the filter value.public void setTags(Collection<Tag> tags)
The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value
as the filter value. For example, to find all resources that have a tag with the key Owner
and the
value TeamA
, specify tag:Owner
for the filter name and TeamA
for the
filter value.
tags
- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the
tag value as the filter value. For example, to find all resources that have a tag with the key
Owner
and the value TeamA
, specify tag:Owner
for the filter name
and TeamA
for the filter value.public IpamScope withTags(Tag... tags)
The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value
as the filter value. For example, to find all resources that have a tag with the key Owner
and the
value TeamA
, specify tag:Owner
for the filter name and TeamA
for the
filter value.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the
tag value as the filter value. For example, to find all resources that have a tag with the key
Owner
and the value TeamA
, specify tag:Owner
for the filter name
and TeamA
for the filter value.public IpamScope withTags(Collection<Tag> tags)
The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value
as the filter value. For example, to find all resources that have a tag with the key Owner
and the
value TeamA
, specify tag:Owner
for the filter name and TeamA
for the
filter value.
tags
- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the
tag value as the filter value. For example, to find all resources that have a tag with the key
Owner
and the value TeamA
, specify tag:Owner
for the filter name
and TeamA
for the filter value.public String toString()
toString
in class Object
Object.toString()