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 interface
Byoasn.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
asn()
A public 2-byte or 4-byte ASN.static Byoasn.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
ipamId()
An IPAM ID.List<SdkField<?>>
sdkFields()
static Class<? extends Byoasn.Builder>
serializableBuilderClass()
AsnState
state()
The provisioning state of the BYOASN.String
stateAsString()
The provisioning state of the BYOASN.String
statusMessage()
The status message.Byoasn.Builder
toBuilder()
String
toString()
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,
state
will 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,
state
will 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:
toBuilder
in 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:
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.
-
-