Class TransitGatewayPrefixListReference
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.TransitGatewayPrefixListReference
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TransitGatewayPrefixListReference.Builder,TransitGatewayPrefixListReference>
@Generated("software.amazon.awssdk:codegen") public final class TransitGatewayPrefixListReference extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TransitGatewayPrefixListReference.Builder,TransitGatewayPrefixListReference>
Describes a prefix list reference.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTransitGatewayPrefixListReference.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Booleanblackhole()Indicates whether traffic that matches this route is dropped.static TransitGatewayPrefixListReference.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringprefixListId()The ID of the prefix list.StringprefixListOwnerId()The ID of the prefix list owner.List<SdkField<?>>sdkFields()static Class<? extends TransitGatewayPrefixListReference.Builder>serializableBuilderClass()TransitGatewayPrefixListReferenceStatestate()The state of the prefix list reference.StringstateAsString()The state of the prefix list reference.TransitGatewayPrefixListReference.BuildertoBuilder()StringtoString()Returns a string representation of this object.TransitGatewayPrefixListAttachmenttransitGatewayAttachment()Information about the transit gateway attachment.StringtransitGatewayRouteTableId()The ID of the transit gateway route table.-
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
-
transitGatewayRouteTableId
public final String transitGatewayRouteTableId()
The ID of the transit gateway route table.
- Returns:
- The ID of the transit gateway route table.
-
prefixListId
public final String prefixListId()
The ID of the prefix list.
- Returns:
- The ID of the prefix list.
-
prefixListOwnerId
public final String prefixListOwnerId()
The ID of the prefix list owner.
- Returns:
- The ID of the prefix list owner.
-
state
public final TransitGatewayPrefixListReferenceState state()
The state of the prefix list reference.
If the service returns an enum value that is not available in the current SDK version,
statewill returnTransitGatewayPrefixListReferenceState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the prefix list reference.
- See Also:
TransitGatewayPrefixListReferenceState
-
stateAsString
public final String stateAsString()
The state of the prefix list reference.
If the service returns an enum value that is not available in the current SDK version,
statewill returnTransitGatewayPrefixListReferenceState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the prefix list reference.
- See Also:
TransitGatewayPrefixListReferenceState
-
blackhole
public final Boolean blackhole()
Indicates whether traffic that matches this route is dropped.
- Returns:
- Indicates whether traffic that matches this route is dropped.
-
transitGatewayAttachment
public final TransitGatewayPrefixListAttachment transitGatewayAttachment()
Information about the transit gateway attachment.
- Returns:
- Information about the transit gateway attachment.
-
toBuilder
public TransitGatewayPrefixListReference.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TransitGatewayPrefixListReference.Builder,TransitGatewayPrefixListReference>
-
builder
public static TransitGatewayPrefixListReference.Builder builder()
-
serializableBuilderClass
public static Class<? extends TransitGatewayPrefixListReference.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.
-
-