@Generated(value="software.amazon.awssdk:codegen") public final class VpcPeeringConnection extends Object implements ToCopyableBuilder<VpcPeeringConnection.Builder,VpcPeeringConnection>
Describes a VPC peering connection.
Modifier and Type | Class and Description |
---|---|
static interface |
VpcPeeringConnection.Builder |
Modifier and Type | Method and Description |
---|---|
VpcPeeringConnectionVpcInfo |
accepterVpcInfo()
Information about the accepter VPC.
|
static VpcPeeringConnection.Builder |
builder() |
boolean |
equals(Object obj) |
Instant |
expirationTime()
The time that an unaccepted VPC peering connection will expire.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
VpcPeeringConnectionVpcInfo |
requesterVpcInfo()
Information about the requester VPC.
|
static Class<? extends VpcPeeringConnection.Builder> |
serializableBuilderClass() |
VpcPeeringConnectionStateReason |
status()
The status of the VPC peering connection.
|
List<Tag> |
tags()
Any tags assigned to the resource.
|
VpcPeeringConnection.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
vpcPeeringConnectionId()
The ID of the VPC peering connection.
|
copy
public VpcPeeringConnectionVpcInfo accepterVpcInfo()
Information about the accepter VPC. CIDR block information is only returned when describing an active VPC peering connection.
public Instant expirationTime()
The time that an unaccepted VPC peering connection will expire.
public VpcPeeringConnectionVpcInfo requesterVpcInfo()
Information about the requester VPC. CIDR block information is only returned when describing an active VPC peering connection.
public VpcPeeringConnectionStateReason status()
The status of the VPC peering connection.
public List<Tag> tags()
Any tags assigned to the resource.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String vpcPeeringConnectionId()
The ID of the VPC peering connection.
public VpcPeeringConnection.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<VpcPeeringConnection.Builder,VpcPeeringConnection>
public static VpcPeeringConnection.Builder builder()
public static Class<? extends VpcPeeringConnection.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.