Class IpamDiscoveredPublicAddress

    • 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.
      • 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 the isEmpty() 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.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)