Class IpamDiscoveredPublicAddress
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.IpamDiscoveredPublicAddress
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<IpamDiscoveredPublicAddress.Builder,IpamDiscoveredPublicAddress>
@Generated("software.amazon.awssdk:codegen") public final class IpamDiscoveredPublicAddress extends Object implements SdkPojo, Serializable, ToCopyableBuilder<IpamDiscoveredPublicAddress.Builder,IpamDiscoveredPublicAddress>
A public IP Address discovered by IPAM.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
IpamDiscoveredPublicAddress.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
address()
The IP address.String
addressAllocationId()
The allocation ID of the resource the IP address is assigned to.String
addressOwnerId()
The ID of the owner of the resource the IP address is assigned to.String
addressRegion()
The Region of the resource the IP address is assigned to.IpamPublicAddressType
addressType()
The IP address type.String
addressTypeAsString()
The IP address type.IpamPublicAddressAssociationStatus
associationStatus()
The association status.String
associationStatusAsString()
The association status.static IpamDiscoveredPublicAddress.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
boolean
hasSecurityGroups()
For responses, this returns true if the service returned a value for the SecurityGroups property.String
instanceId()
The instance ID of the instance the assigned IP address is assigned to.String
ipamResourceDiscoveryId()
The resource discovery ID.String
networkBorderGroup()
The network border group that the resource that the IP address is assigned to is in.String
networkInterfaceDescription()
The description of the network interface that IP address is assigned to.String
networkInterfaceId()
The network interface ID of the resource with the assigned IP address.String
publicIpv4PoolId()
The ID of the public IPv4 pool that the resource with the assigned IP address is from.Instant
sampleTime()
The last successful resource discovery time.List<SdkField<?>>
sdkFields()
List<IpamPublicAddressSecurityGroup>
securityGroups()
Security groups associated with the resource that the IP address is assigned to.static Class<? extends IpamDiscoveredPublicAddress.Builder>
serializableBuilderClass()
IpamPublicAddressAwsService
service()
The Amazon Web Services service associated with the IP address.String
serviceAsString()
The Amazon Web Services service associated with the IP address.String
serviceResource()
The resource ARN or ID.String
subnetId()
The ID of the subnet that the resource with the assigned IP address is in.IpamPublicAddressTags
tags()
Tags associated with the IP address.IpamDiscoveredPublicAddress.Builder
toBuilder()
String
toString()
Returns a string representation of this object.String
vpcId()
The ID of the VPC that the resource with the assigned IP address is in.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
ipamResourceDiscoveryId
public final String ipamResourceDiscoveryId()
The resource discovery ID.
- Returns:
- The resource discovery ID.
-
addressRegion
public final String addressRegion()
The Region of the resource the IP address is assigned to.
- Returns:
- The Region of the resource the IP address is assigned to.
-
address
public final String address()
The IP address.
- Returns:
- The IP address.
-
addressOwnerId
public final String addressOwnerId()
The ID of the owner of the resource the IP address is assigned to.
- Returns:
- The ID of the owner of the resource the IP address is assigned to.
-
addressAllocationId
public final String addressAllocationId()
The allocation ID of the resource the IP address is assigned to.
- Returns:
- The allocation ID of the resource the IP address is assigned to.
-
associationStatus
public final IpamPublicAddressAssociationStatus associationStatus()
The association status.
If the service returns an enum value that is not available in the current SDK version,
associationStatus
will returnIpamPublicAddressAssociationStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromassociationStatusAsString()
.- Returns:
- The association status.
- See Also:
IpamPublicAddressAssociationStatus
-
associationStatusAsString
public final String associationStatusAsString()
The association status.
If the service returns an enum value that is not available in the current SDK version,
associationStatus
will returnIpamPublicAddressAssociationStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromassociationStatusAsString()
.- Returns:
- The association status.
- See Also:
IpamPublicAddressAssociationStatus
-
addressType
public final IpamPublicAddressType addressType()
The IP address type.
If the service returns an enum value that is not available in the current SDK version,
addressType
will returnIpamPublicAddressType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromaddressTypeAsString()
.- Returns:
- The IP address type.
- See Also:
IpamPublicAddressType
-
addressTypeAsString
public final String addressTypeAsString()
The IP address type.
If the service returns an enum value that is not available in the current SDK version,
addressType
will returnIpamPublicAddressType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromaddressTypeAsString()
.- Returns:
- The IP address type.
- See Also:
IpamPublicAddressType
-
service
public final IpamPublicAddressAwsService service()
The Amazon Web Services service associated with the IP address.
If the service returns an enum value that is not available in the current SDK version,
service
will returnIpamPublicAddressAwsService.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromserviceAsString()
.- Returns:
- The Amazon Web Services service associated with the IP address.
- See Also:
IpamPublicAddressAwsService
-
serviceAsString
public final String serviceAsString()
The Amazon Web Services service associated with the IP address.
If the service returns an enum value that is not available in the current SDK version,
service
will returnIpamPublicAddressAwsService.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromserviceAsString()
.- Returns:
- The Amazon Web Services service associated with the IP address.
- See Also:
IpamPublicAddressAwsService
-
serviceResource
public final String serviceResource()
The resource ARN or ID.
- Returns:
- The resource ARN or ID.
-
vpcId
public final String vpcId()
The ID of the VPC that the resource with the assigned IP address is in.
- Returns:
- The ID of the VPC that the resource with the assigned IP address is in.
-
subnetId
public final String subnetId()
The ID of the subnet that the resource with the assigned IP address is in.
- Returns:
- The ID of the subnet that the resource with the assigned IP address is in.
-
publicIpv4PoolId
public final String publicIpv4PoolId()
The ID of the public IPv4 pool that the resource with the assigned IP address is from.
- Returns:
- The ID of the public IPv4 pool that the resource with the assigned IP address is from.
-
networkInterfaceId
public final String networkInterfaceId()
The network interface ID of the resource with the assigned IP address.
- Returns:
- The network interface ID of the resource with the assigned IP address.
-
networkInterfaceDescription
public final String networkInterfaceDescription()
The description of the network interface that IP address is assigned to.
- Returns:
- The description of the network interface that IP address is assigned to.
-
instanceId
public final String instanceId()
The instance ID of the instance the assigned IP address is assigned to.
- Returns:
- The instance ID of the instance the assigned IP address is assigned to.
-
tags
public final IpamPublicAddressTags tags()
Tags associated with the IP address.
- Returns:
- Tags associated with the IP address.
-
networkBorderGroup
public final String networkBorderGroup()
The network border group that the resource that the IP address is assigned to is in.
- Returns:
- The network border group that the resource that the IP address is assigned to is in.
-
hasSecurityGroups
public final boolean hasSecurityGroups()
For responses, this returns true if the service returned a value for the SecurityGroups property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
securityGroups
public final List<IpamPublicAddressSecurityGroup> securityGroups()
Security groups associated with the resource that the IP address is assigned to.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasSecurityGroups()
method.- Returns:
- Security groups associated with the resource that the IP address is assigned to.
-
sampleTime
public final Instant sampleTime()
The last successful resource discovery time.
- Returns:
- The last successful resource discovery time.
-
toBuilder
public IpamDiscoveredPublicAddress.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<IpamDiscoveredPublicAddress.Builder,IpamDiscoveredPublicAddress>
-
builder
public static IpamDiscoveredPublicAddress.Builder builder()
-
serializableBuilderClass
public static Class<? extends IpamDiscoveredPublicAddress.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-