@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IpamDiscoveredResourceCidr extends Object implements Serializable, Cloneable
An IPAM discovered resource CIDR. A discovered resource is a resource CIDR monitored under a resource discovery. The following resources can be discovered: VPCs, Public IPv4 pools, VPC subnets, and Elastic IP addresses. The discovered resource CIDR is the IP address range in CIDR notation that is associated with the resource.
Constructor and Description |
---|
IpamDiscoveredResourceCidr() |
Modifier and Type | Method and Description |
---|---|
IpamDiscoveredResourceCidr |
clone() |
boolean |
equals(Object obj) |
String |
getAvailabilityZoneId()
The Availability Zone ID.
|
String |
getIpamResourceDiscoveryId()
The resource discovery ID.
|
Double |
getIpUsage()
The percentage of IP address space in use.
|
String |
getNetworkInterfaceAttachmentStatus()
For elastic network interfaces, this is the status of whether or not the elastic network interface is attached.
|
String |
getResourceCidr()
The resource CIDR.
|
String |
getResourceId()
The resource ID.
|
String |
getResourceOwnerId()
The resource owner ID.
|
String |
getResourceRegion()
The resource Region.
|
List<IpamResourceTag> |
getResourceTags()
The resource tags.
|
String |
getResourceType()
The resource type.
|
Date |
getSampleTime()
The last successful resource discovery time.
|
String |
getVpcId()
The VPC ID.
|
int |
hashCode() |
void |
setAvailabilityZoneId(String availabilityZoneId)
The Availability Zone ID.
|
void |
setIpamResourceDiscoveryId(String ipamResourceDiscoveryId)
The resource discovery ID.
|
void |
setIpUsage(Double ipUsage)
The percentage of IP address space in use.
|
void |
setNetworkInterfaceAttachmentStatus(String networkInterfaceAttachmentStatus)
For elastic network interfaces, this is the status of whether or not the elastic network interface is attached.
|
void |
setResourceCidr(String resourceCidr)
The resource CIDR.
|
void |
setResourceId(String resourceId)
The resource ID.
|
void |
setResourceOwnerId(String resourceOwnerId)
The resource owner ID.
|
void |
setResourceRegion(String resourceRegion)
The resource Region.
|
void |
setResourceTags(Collection<IpamResourceTag> resourceTags)
The resource tags.
|
void |
setResourceType(String resourceType)
The resource type.
|
void |
setSampleTime(Date sampleTime)
The last successful resource discovery time.
|
void |
setVpcId(String vpcId)
The VPC ID.
|
String |
toString()
Returns a string representation of this object.
|
IpamDiscoveredResourceCidr |
withAvailabilityZoneId(String availabilityZoneId)
The Availability Zone ID.
|
IpamDiscoveredResourceCidr |
withIpamResourceDiscoveryId(String ipamResourceDiscoveryId)
The resource discovery ID.
|
IpamDiscoveredResourceCidr |
withIpUsage(Double ipUsage)
The percentage of IP address space in use.
|
IpamDiscoveredResourceCidr |
withNetworkInterfaceAttachmentStatus(IpamNetworkInterfaceAttachmentStatus networkInterfaceAttachmentStatus)
For elastic network interfaces, this is the status of whether or not the elastic network interface is attached.
|
IpamDiscoveredResourceCidr |
withNetworkInterfaceAttachmentStatus(String networkInterfaceAttachmentStatus)
For elastic network interfaces, this is the status of whether or not the elastic network interface is attached.
|
IpamDiscoveredResourceCidr |
withResourceCidr(String resourceCidr)
The resource CIDR.
|
IpamDiscoveredResourceCidr |
withResourceId(String resourceId)
The resource ID.
|
IpamDiscoveredResourceCidr |
withResourceOwnerId(String resourceOwnerId)
The resource owner ID.
|
IpamDiscoveredResourceCidr |
withResourceRegion(String resourceRegion)
The resource Region.
|
IpamDiscoveredResourceCidr |
withResourceTags(Collection<IpamResourceTag> resourceTags)
The resource tags.
|
IpamDiscoveredResourceCidr |
withResourceTags(IpamResourceTag... resourceTags)
The resource tags.
|
IpamDiscoveredResourceCidr |
withResourceType(IpamResourceType resourceType)
The resource type.
|
IpamDiscoveredResourceCidr |
withResourceType(String resourceType)
The resource type.
|
IpamDiscoveredResourceCidr |
withSampleTime(Date sampleTime)
The last successful resource discovery time.
|
IpamDiscoveredResourceCidr |
withVpcId(String vpcId)
The VPC ID.
|
public void setIpamResourceDiscoveryId(String ipamResourceDiscoveryId)
The resource discovery ID.
ipamResourceDiscoveryId
- The resource discovery ID.public String getIpamResourceDiscoveryId()
The resource discovery ID.
public IpamDiscoveredResourceCidr withIpamResourceDiscoveryId(String ipamResourceDiscoveryId)
The resource discovery ID.
ipamResourceDiscoveryId
- The resource discovery ID.public void setResourceRegion(String resourceRegion)
The resource Region.
resourceRegion
- The resource Region.public String getResourceRegion()
The resource Region.
public IpamDiscoveredResourceCidr withResourceRegion(String resourceRegion)
The resource Region.
resourceRegion
- The resource Region.public void setResourceId(String resourceId)
The resource ID.
resourceId
- The resource ID.public String getResourceId()
The resource ID.
public IpamDiscoveredResourceCidr withResourceId(String resourceId)
The resource ID.
resourceId
- The resource ID.public void setResourceOwnerId(String resourceOwnerId)
The resource owner ID.
resourceOwnerId
- The resource owner ID.public String getResourceOwnerId()
The resource owner ID.
public IpamDiscoveredResourceCidr withResourceOwnerId(String resourceOwnerId)
The resource owner ID.
resourceOwnerId
- The resource owner ID.public void setResourceCidr(String resourceCidr)
The resource CIDR.
resourceCidr
- The resource CIDR.public String getResourceCidr()
The resource CIDR.
public IpamDiscoveredResourceCidr withResourceCidr(String resourceCidr)
The resource CIDR.
resourceCidr
- The resource CIDR.public void setResourceType(String resourceType)
The resource type.
resourceType
- The resource type.IpamResourceType
public String getResourceType()
The resource type.
IpamResourceType
public IpamDiscoveredResourceCidr withResourceType(String resourceType)
The resource type.
resourceType
- The resource type.IpamResourceType
public IpamDiscoveredResourceCidr withResourceType(IpamResourceType resourceType)
The resource type.
resourceType
- The resource type.IpamResourceType
public List<IpamResourceTag> getResourceTags()
The resource tags.
public void setResourceTags(Collection<IpamResourceTag> resourceTags)
The resource tags.
resourceTags
- The resource tags.public IpamDiscoveredResourceCidr withResourceTags(IpamResourceTag... resourceTags)
The resource tags.
NOTE: This method appends the values to the existing list (if any). Use
setResourceTags(java.util.Collection)
or withResourceTags(java.util.Collection)
if you want to
override the existing values.
resourceTags
- The resource tags.public IpamDiscoveredResourceCidr withResourceTags(Collection<IpamResourceTag> resourceTags)
The resource tags.
resourceTags
- The resource tags.public void setIpUsage(Double ipUsage)
The percentage of IP address space in use. To convert the decimal to a percentage, multiply the decimal by 100. Note the following:
For resources that are VPCs, this is the percentage of IP address space in the VPC that's taken up by subnet CIDRs.
For resources that are subnets, if the subnet has an IPv4 CIDR provisioned to it, this is the percentage of IPv4 address space in the subnet that's in use. If the subnet has an IPv6 CIDR provisioned to it, the percentage of IPv6 address space in use is not represented. The percentage of IPv6 address space in use cannot currently be calculated.
For resources that are public IPv4 pools, this is the percentage of IP address space in the pool that's been allocated to Elastic IP addresses (EIPs).
ipUsage
- The percentage of IP address space in use. To convert the decimal to a percentage, multiply the decimal by
100. Note the following:
For resources that are VPCs, this is the percentage of IP address space in the VPC that's taken up by subnet CIDRs.
For resources that are subnets, if the subnet has an IPv4 CIDR provisioned to it, this is the percentage of IPv4 address space in the subnet that's in use. If the subnet has an IPv6 CIDR provisioned to it, the percentage of IPv6 address space in use is not represented. The percentage of IPv6 address space in use cannot currently be calculated.
For resources that are public IPv4 pools, this is the percentage of IP address space in the pool that's been allocated to Elastic IP addresses (EIPs).
public Double getIpUsage()
The percentage of IP address space in use. To convert the decimal to a percentage, multiply the decimal by 100. Note the following:
For resources that are VPCs, this is the percentage of IP address space in the VPC that's taken up by subnet CIDRs.
For resources that are subnets, if the subnet has an IPv4 CIDR provisioned to it, this is the percentage of IPv4 address space in the subnet that's in use. If the subnet has an IPv6 CIDR provisioned to it, the percentage of IPv6 address space in use is not represented. The percentage of IPv6 address space in use cannot currently be calculated.
For resources that are public IPv4 pools, this is the percentage of IP address space in the pool that's been allocated to Elastic IP addresses (EIPs).
For resources that are VPCs, this is the percentage of IP address space in the VPC that's taken up by subnet CIDRs.
For resources that are subnets, if the subnet has an IPv4 CIDR provisioned to it, this is the percentage of IPv4 address space in the subnet that's in use. If the subnet has an IPv6 CIDR provisioned to it, the percentage of IPv6 address space in use is not represented. The percentage of IPv6 address space in use cannot currently be calculated.
For resources that are public IPv4 pools, this is the percentage of IP address space in the pool that's been allocated to Elastic IP addresses (EIPs).
public IpamDiscoveredResourceCidr withIpUsage(Double ipUsage)
The percentage of IP address space in use. To convert the decimal to a percentage, multiply the decimal by 100. Note the following:
For resources that are VPCs, this is the percentage of IP address space in the VPC that's taken up by subnet CIDRs.
For resources that are subnets, if the subnet has an IPv4 CIDR provisioned to it, this is the percentage of IPv4 address space in the subnet that's in use. If the subnet has an IPv6 CIDR provisioned to it, the percentage of IPv6 address space in use is not represented. The percentage of IPv6 address space in use cannot currently be calculated.
For resources that are public IPv4 pools, this is the percentage of IP address space in the pool that's been allocated to Elastic IP addresses (EIPs).
ipUsage
- The percentage of IP address space in use. To convert the decimal to a percentage, multiply the decimal by
100. Note the following:
For resources that are VPCs, this is the percentage of IP address space in the VPC that's taken up by subnet CIDRs.
For resources that are subnets, if the subnet has an IPv4 CIDR provisioned to it, this is the percentage of IPv4 address space in the subnet that's in use. If the subnet has an IPv6 CIDR provisioned to it, the percentage of IPv6 address space in use is not represented. The percentage of IPv6 address space in use cannot currently be calculated.
For resources that are public IPv4 pools, this is the percentage of IP address space in the pool that's been allocated to Elastic IP addresses (EIPs).
public void setVpcId(String vpcId)
The VPC ID.
vpcId
- The VPC ID.public String getVpcId()
The VPC ID.
public IpamDiscoveredResourceCidr withVpcId(String vpcId)
The VPC ID.
vpcId
- The VPC ID.public void setNetworkInterfaceAttachmentStatus(String networkInterfaceAttachmentStatus)
For elastic network interfaces, this is the status of whether or not the elastic network interface is attached.
networkInterfaceAttachmentStatus
- For elastic network interfaces, this is the status of whether or not the elastic network interface is
attached.IpamNetworkInterfaceAttachmentStatus
public String getNetworkInterfaceAttachmentStatus()
For elastic network interfaces, this is the status of whether or not the elastic network interface is attached.
IpamNetworkInterfaceAttachmentStatus
public IpamDiscoveredResourceCidr withNetworkInterfaceAttachmentStatus(String networkInterfaceAttachmentStatus)
For elastic network interfaces, this is the status of whether or not the elastic network interface is attached.
networkInterfaceAttachmentStatus
- For elastic network interfaces, this is the status of whether or not the elastic network interface is
attached.IpamNetworkInterfaceAttachmentStatus
public IpamDiscoveredResourceCidr withNetworkInterfaceAttachmentStatus(IpamNetworkInterfaceAttachmentStatus networkInterfaceAttachmentStatus)
For elastic network interfaces, this is the status of whether or not the elastic network interface is attached.
networkInterfaceAttachmentStatus
- For elastic network interfaces, this is the status of whether or not the elastic network interface is
attached.IpamNetworkInterfaceAttachmentStatus
public void setSampleTime(Date sampleTime)
The last successful resource discovery time.
sampleTime
- The last successful resource discovery time.public Date getSampleTime()
The last successful resource discovery time.
public IpamDiscoveredResourceCidr withSampleTime(Date sampleTime)
The last successful resource discovery time.
sampleTime
- The last successful resource discovery time.public void setAvailabilityZoneId(String availabilityZoneId)
The Availability Zone ID.
availabilityZoneId
- The Availability Zone ID.public String getAvailabilityZoneId()
The Availability Zone ID.
public IpamDiscoveredResourceCidr withAvailabilityZoneId(String availabilityZoneId)
The Availability Zone ID.
availabilityZoneId
- The Availability Zone ID.public String toString()
toString
in class Object
Object.toString()
public IpamDiscoveredResourceCidr clone()