@Generated(value="software.amazon.awssdk:codegen") public final class VpcPeeringConnectionVpcInfo extends Object implements ToCopyableBuilder<VpcPeeringConnectionVpcInfo.Builder,VpcPeeringConnectionVpcInfo>
Describes a VPC in a VPC peering connection.
Modifier and Type | Class and Description |
---|---|
static interface |
VpcPeeringConnectionVpcInfo.Builder |
Modifier and Type | Method and Description |
---|---|
static VpcPeeringConnectionVpcInfo.Builder |
builder() |
String |
cidrBlock()
The IPv4 CIDR block for the VPC.
|
List<CidrBlock> |
cidrBlockSet()
Information about the IPv4 CIDR blocks for the VPC.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<Ipv6CidrBlock> |
ipv6CidrBlockSet()
The IPv6 CIDR block for the VPC.
|
String |
ownerId()
The AWS account ID of the VPC owner.
|
VpcPeeringConnectionOptionsDescription |
peeringOptions()
Information about the VPC peering connection options for the accepter or requester VPC.
|
static Class<? extends VpcPeeringConnectionVpcInfo.Builder> |
serializableBuilderClass() |
VpcPeeringConnectionVpcInfo.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
vpcId()
The ID of the VPC.
|
copy
public String cidrBlock()
The IPv4 CIDR block for the VPC.
public List<Ipv6CidrBlock> ipv6CidrBlockSet()
The IPv6 CIDR block for the VPC.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<CidrBlock> cidrBlockSet()
Information about the IPv4 CIDR blocks for the VPC.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String ownerId()
The AWS account ID of the VPC owner.
public VpcPeeringConnectionOptionsDescription peeringOptions()
Information about the VPC peering connection options for the accepter or requester VPC.
public String vpcId()
The ID of the VPC.
public VpcPeeringConnectionVpcInfo.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<VpcPeeringConnectionVpcInfo.Builder,VpcPeeringConnectionVpcInfo>
public static VpcPeeringConnectionVpcInfo.Builder builder()
public static Class<? extends VpcPeeringConnectionVpcInfo.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.