CopyableBuilder<VpcPeeringConnection.Builder,VpcPeeringConnection>
, SdkBuilder<VpcPeeringConnection.Builder,VpcPeeringConnection>
public static interface VpcPeeringConnection.Builder extends CopyableBuilder<VpcPeeringConnection.Builder,VpcPeeringConnection>
Modifier and Type | Method | Description |
---|---|---|
VpcPeeringConnection.Builder |
accepterVpcInfo(VpcPeeringConnectionVpcInfo accepterVpcInfo) |
Information about the accepter VPC.
|
VpcPeeringConnection.Builder |
expirationTime(Date expirationTime) |
The time that an unaccepted VPC peering connection will expire.
|
VpcPeeringConnection.Builder |
requesterVpcInfo(VpcPeeringConnectionVpcInfo requesterVpcInfo) |
Information about the requester VPC.
|
VpcPeeringConnection.Builder |
status(VpcPeeringConnectionStateReason status) |
The status of the VPC peering connection.
|
VpcPeeringConnection.Builder |
tags(Collection<Tag> tags) |
Any tags assigned to the resource.
|
VpcPeeringConnection.Builder |
tags(Tag... tags) |
Any tags assigned to the resource.
|
VpcPeeringConnection.Builder |
vpcPeeringConnectionId(String vpcPeeringConnectionId) |
The ID of the VPC peering connection.
|
copy
apply, build
VpcPeeringConnection.Builder accepterVpcInfo(VpcPeeringConnectionVpcInfo accepterVpcInfo)
Information about the accepter VPC. CIDR block information is only returned when describing an active VPC peering connection.
accepterVpcInfo
- Information about the accepter VPC. CIDR block information is only returned when describing an active
VPC peering connection.VpcPeeringConnection.Builder expirationTime(Date expirationTime)
The time that an unaccepted VPC peering connection will expire.
expirationTime
- The time that an unaccepted VPC peering connection will expire.VpcPeeringConnection.Builder requesterVpcInfo(VpcPeeringConnectionVpcInfo requesterVpcInfo)
Information about the requester VPC. CIDR block information is only returned when describing an active VPC peering connection.
requesterVpcInfo
- Information about the requester VPC. CIDR block information is only returned when describing an active
VPC peering connection.VpcPeeringConnection.Builder status(VpcPeeringConnectionStateReason status)
The status of the VPC peering connection.
status
- The status of the VPC peering connection.VpcPeeringConnection.Builder tags(Collection<Tag> tags)
Any tags assigned to the resource.
tags
- Any tags assigned to the resource.VpcPeeringConnection.Builder tags(Tag... tags)
Any tags assigned to the resource.
NOTE: This method appends the values to the existing list (if any). Use
#setTags(java.util.Collection)
or #withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Any tags assigned to the resource.VpcPeeringConnection.Builder vpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of the VPC peering connection.
vpcPeeringConnectionId
- The ID of the VPC peering connection.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.