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 interface
PeeringTgwInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PeeringTgwInfo.Builder
builder()
String
coreNetworkId()
The ID of the core network where the transit gateway peer is located.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
ownerId()
The ID of the Amazon Web Services account that owns the transit gateway.String
region()
The Region of the transit gateway.List<SdkField<?>>
sdkFields()
static Class<? extends PeeringTgwInfo.Builder>
serializableBuilderClass()
PeeringTgwInfo.Builder
toBuilder()
String
toString()
Returns a string representation of this object.String
transitGatewayId()
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:
toBuilder
in 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:
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.
-
-