Class AwsEc2EipDetails
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.AwsEc2EipDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsEc2EipDetails.Builder,AwsEc2EipDetails>
@Generated("software.amazon.awssdk:codegen") public final class AwsEc2EipDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsEc2EipDetails.Builder,AwsEc2EipDetails>
Information about an Elastic IP address.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAwsEc2EipDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringallocationId()The identifier that Amazon Web Services assigns to represent the allocation of the Elastic IP address for use with Amazon VPC.StringassociationId()The identifier that represents the association of the Elastic IP address with an EC2 instance.static AwsEc2EipDetails.Builderbuilder()Stringdomain()The domain in which to allocate the address.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringinstanceId()The identifier of the EC2 instance.StringnetworkBorderGroup()The name of the location from which the Elastic IP address is advertised.StringnetworkInterfaceId()The identifier of the network interface.StringnetworkInterfaceOwnerId()The Amazon Web Services account ID of the owner of the network interface.StringprivateIpAddress()The private IP address that is associated with the Elastic IP address.StringpublicIp()A public IP address that is associated with the EC2 instance.StringpublicIpv4Pool()The identifier of an IP address pool.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AwsEc2EipDetails.Builder>serializableBuilderClass()AwsEc2EipDetails.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
instanceId
public final String instanceId()
The identifier of the EC2 instance.
- Returns:
- The identifier of the EC2 instance.
-
publicIp
public final String publicIp()
A public IP address that is associated with the EC2 instance.
- Returns:
- A public IP address that is associated with the EC2 instance.
-
allocationId
public final String allocationId()
The identifier that Amazon Web Services assigns to represent the allocation of the Elastic IP address for use with Amazon VPC.
- Returns:
- The identifier that Amazon Web Services assigns to represent the allocation of the Elastic IP address for use with Amazon VPC.
-
associationId
public final String associationId()
The identifier that represents the association of the Elastic IP address with an EC2 instance.
- Returns:
- The identifier that represents the association of the Elastic IP address with an EC2 instance.
-
domain
public final String domain()
The domain in which to allocate the address.
If the address is for use with EC2 instances in a VPC, then
Domainisvpc. Otherwise,Domainisstandard.- Returns:
- The domain in which to allocate the address.
If the address is for use with EC2 instances in a VPC, then
Domainisvpc. Otherwise,Domainisstandard.
-
publicIpv4Pool
public final String publicIpv4Pool()
The identifier of an IP address pool. This parameter allows Amazon EC2 to select an IP address from the address pool.
- Returns:
- The identifier of an IP address pool. This parameter allows Amazon EC2 to select an IP address from the address pool.
-
networkBorderGroup
public final String networkBorderGroup()
The name of the location from which the Elastic IP address is advertised.
- Returns:
- The name of the location from which the Elastic IP address is advertised.
-
networkInterfaceId
public final String networkInterfaceId()
The identifier of the network interface.
- Returns:
- The identifier of the network interface.
-
networkInterfaceOwnerId
public final String networkInterfaceOwnerId()
The Amazon Web Services account ID of the owner of the network interface.
- Returns:
- The Amazon Web Services account ID of the owner of the network interface.
-
privateIpAddress
public final String privateIpAddress()
The private IP address that is associated with the Elastic IP address.
- Returns:
- The private IP address that is associated with the Elastic IP address.
-
toBuilder
public AwsEc2EipDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AwsEc2EipDetails.Builder,AwsEc2EipDetails>
-
builder
public static AwsEc2EipDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsEc2EipDetails.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-