Class Byoasn
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.Byoasn
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Byoasn.Builder,Byoasn>
@Generated("software.amazon.awssdk:codegen") public final class Byoasn extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Byoasn.Builder,Byoasn>
The Autonomous System Number (ASN) and BYOIP CIDR association.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceByoasn.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringasn()A public 2-byte or 4-byte ASN.static Byoasn.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringipamId()An IPAM ID.List<SdkField<?>>sdkFields()static Class<? extends Byoasn.Builder>serializableBuilderClass()AsnStatestate()The provisioning state of the BYOASN.StringstateAsString()The provisioning state of the BYOASN.StringstatusMessage()The status message.Byoasn.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
-
asn
public final String asn()
A public 2-byte or 4-byte ASN.
- Returns:
- A public 2-byte or 4-byte ASN.
-
ipamId
public final String ipamId()
An IPAM ID.
- Returns:
- An IPAM ID.
-
statusMessage
public final String statusMessage()
The status message.
- Returns:
- The status message.
-
state
public final AsnState state()
The provisioning state of the BYOASN.
If the service returns an enum value that is not available in the current SDK version,
statewill returnAsnState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The provisioning state of the BYOASN.
- See Also:
AsnState
-
stateAsString
public final String stateAsString()
The provisioning state of the BYOASN.
If the service returns an enum value that is not available in the current SDK version,
statewill returnAsnState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The provisioning state of the BYOASN.
- See Also:
AsnState
-
toBuilder
public Byoasn.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Byoasn.Builder,Byoasn>
-
builder
public static Byoasn.Builder builder()
-
serializableBuilderClass
public static Class<? extends Byoasn.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.
-
-