Class PeeringTgwInfo
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.PeeringTgwInfo
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PeeringTgwInfo.Builder,PeeringTgwInfo>
@Generated("software.amazon.awssdk:codegen") public final class PeeringTgwInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PeeringTgwInfo.Builder,PeeringTgwInfo>
Information about the transit gateway in the peering attachment.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePeeringTgwInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PeeringTgwInfo.Builderbuilder()StringcoreNetworkId()The ID of the core network where the transit gateway peer is located.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringownerId()The ID of the Amazon Web Services account that owns the transit gateway.Stringregion()The Region of the transit gateway.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends PeeringTgwInfo.Builder>serializableBuilderClass()PeeringTgwInfo.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringtransitGatewayId()The ID of the transit gateway.-
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
-
transitGatewayId
public final String transitGatewayId()
The ID of the transit gateway.
- Returns:
- The ID of the transit gateway.
-
coreNetworkId
public final String coreNetworkId()
The ID of the core network where the transit gateway peer is located.
- Returns:
- The ID of the core network where the transit gateway peer is located.
-
ownerId
public final String ownerId()
The ID of the Amazon Web Services account that owns the transit gateway.
- Returns:
- The ID of the Amazon Web Services account that owns the transit gateway.
-
region
public final String region()
The Region of the transit gateway.
- Returns:
- The Region of the transit gateway.
-
toBuilder
public PeeringTgwInfo.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PeeringTgwInfo.Builder,PeeringTgwInfo>
-
builder
public static PeeringTgwInfo.Builder builder()
-
serializableBuilderClass
public static Class<? extends PeeringTgwInfo.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
-
-