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 interface
TransitGatewayPrefixListReference.Builder
-
Method Summary
-
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,
state
will 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,
state
will 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:
toBuilder
in 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:
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-