@Generated(value="software.amazon.awssdk:codegen") public final class VpcPeeringConnection extends Object implements SdkPojo, Serializable, 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) |
boolean |
equalsBySdkFields(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() |
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
VpcPeeringConnectionVpcInfo |
requesterVpcInfo()
Information about the requester VPC.
|
List<SdkField<?>> |
sdkFields() |
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() |
String |
toString()
Returns a string representation of this object.
|
String |
vpcPeeringConnectionId()
The ID of the VPC peering connection.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final VpcPeeringConnectionVpcInfo accepterVpcInfo()
Information about the accepter VPC. CIDR block information is only returned when describing an active VPC peering connection.
public final Instant expirationTime()
The time that an unaccepted VPC peering connection will expire.
public final VpcPeeringConnectionVpcInfo requesterVpcInfo()
Information about the requester VPC. CIDR block information is only returned when describing an active VPC peering connection.
public final VpcPeeringConnectionStateReason status()
The status of the VPC peering connection.
public final boolean hasTags()
public final List<Tag> tags()
Any tags assigned to the resource.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
public final String vpcPeeringConnectionId()
The ID of the VPC peering connection.
public VpcPeeringConnection.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<VpcPeeringConnection.Builder,VpcPeeringConnection>public static VpcPeeringConnection.Builder builder()
public static Class<? extends VpcPeeringConnection.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.