@Generated(value="software.amazon.awssdk:codegen") public final class TransitGatewayVpcAttachment extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TransitGatewayVpcAttachment.Builder,TransitGatewayVpcAttachment>
Describes a VPC attachment.
Modifier and Type | Class and Description |
---|---|
static interface |
TransitGatewayVpcAttachment.Builder |
Modifier and Type | Method and Description |
---|---|
static TransitGatewayVpcAttachment.Builder |
builder() |
Instant |
creationTime()
The creation time.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
TransitGatewayVpcAttachmentOptions |
options()
The VPC attachment options.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TransitGatewayVpcAttachment.Builder> |
serializableBuilderClass() |
TransitGatewayAttachmentState |
state()
The state of the VPC attachment.
|
String |
stateAsString()
The state of the VPC attachment.
|
List<String> |
subnetIds()
The IDs of the subnets.
|
List<Tag> |
tags()
The tags for the VPC attachment.
|
TransitGatewayVpcAttachment.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
transitGatewayAttachmentId()
The ID of the attachment.
|
String |
transitGatewayId()
The ID of the transit gateway.
|
String |
vpcId()
The ID of the VPC.
|
String |
vpcOwnerId()
The ID of the AWS account that owns the VPC.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String transitGatewayAttachmentId()
The ID of the attachment.
public String transitGatewayId()
The ID of the transit gateway.
public String vpcId()
The ID of the VPC.
public String vpcOwnerId()
The ID of the AWS account that owns the VPC.
public TransitGatewayAttachmentState state()
The state of the VPC attachment.
If the service returns an enum value that is not available in the current SDK version, state
will return
TransitGatewayAttachmentState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from stateAsString()
.
TransitGatewayAttachmentState
public String stateAsString()
The state of the VPC attachment.
If the service returns an enum value that is not available in the current SDK version, state
will return
TransitGatewayAttachmentState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from stateAsString()
.
TransitGatewayAttachmentState
public List<String> subnetIds()
The IDs of the subnets.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Instant creationTime()
The creation time.
public TransitGatewayVpcAttachmentOptions options()
The VPC attachment options.
public List<Tag> tags()
The tags for the VPC attachment.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public TransitGatewayVpcAttachment.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<TransitGatewayVpcAttachment.Builder,TransitGatewayVpcAttachment>
public static TransitGatewayVpcAttachment.Builder builder()
public static Class<? extends TransitGatewayVpcAttachment.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2019. All rights reserved.