public static interface VpcPeeringConnection.Builder extends SdkPojo, CopyableBuilder<VpcPeeringConnection.Builder,VpcPeeringConnection>
equalsBySdkFields, sdkFields
copy
applyMutation, 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.default VpcPeeringConnection.Builder accepterVpcInfo(Consumer<VpcPeeringConnectionVpcInfo.Builder> accepterVpcInfo)
Information about the accepter VPC. CIDR block information is only returned when describing an active VPC peering connection.
This is a convenience that creates an instance of theVpcPeeringConnectionVpcInfo.Builder
avoiding
the need to create one manually via VpcPeeringConnectionVpcInfo.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to accepterVpcInfo(VpcPeeringConnectionVpcInfo)
.accepterVpcInfo
- a consumer that will call methods on VpcPeeringConnectionVpcInfo.Builder
accepterVpcInfo(VpcPeeringConnectionVpcInfo)
VpcPeeringConnection.Builder expirationTime(Instant 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.default VpcPeeringConnection.Builder requesterVpcInfo(Consumer<VpcPeeringConnectionVpcInfo.Builder> requesterVpcInfo)
Information about the requester VPC. CIDR block information is only returned when describing an active VPC peering connection.
This is a convenience that creates an instance of theVpcPeeringConnectionVpcInfo.Builder
avoiding
the need to create one manually via VpcPeeringConnectionVpcInfo.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to requesterVpcInfo(VpcPeeringConnectionVpcInfo)
.requesterVpcInfo
- a consumer that will call methods on VpcPeeringConnectionVpcInfo.Builder
requesterVpcInfo(VpcPeeringConnectionVpcInfo)
VpcPeeringConnection.Builder status(VpcPeeringConnectionStateReason status)
The status of the VPC peering connection.
status
- The status of the VPC peering connection.default VpcPeeringConnection.Builder status(Consumer<VpcPeeringConnectionStateReason.Builder> status)
The status of the VPC peering connection.
This is a convenience that creates an instance of theVpcPeeringConnectionStateReason.Builder
avoiding the need to create one manually via VpcPeeringConnectionStateReason.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to status(VpcPeeringConnectionStateReason)
.status
- a consumer that will call methods on VpcPeeringConnectionStateReason.Builder
status(VpcPeeringConnectionStateReason)
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.
tags
- Any tags assigned to the resource.VpcPeeringConnection.Builder tags(Consumer<Tag.Builder>... tags)
Any tags assigned to the resource.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
VpcPeeringConnection.Builder vpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of the VPC peering connection.
vpcPeeringConnectionId
- The ID of the VPC peering connection.Copyright © 2019. All rights reserved.