Interface AwsEc2VpcPeeringConnectionDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsEc2VpcPeeringConnectionDetails.Builder,AwsEc2VpcPeeringConnectionDetails>,SdkBuilder<AwsEc2VpcPeeringConnectionDetails.Builder,AwsEc2VpcPeeringConnectionDetails>,SdkPojo
- Enclosing class:
- AwsEc2VpcPeeringConnectionDetails
public static interface AwsEc2VpcPeeringConnectionDetails.Builder extends SdkPojo, CopyableBuilder<AwsEc2VpcPeeringConnectionDetails.Builder,AwsEc2VpcPeeringConnectionDetails>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
accepterVpcInfo
AwsEc2VpcPeeringConnectionDetails.Builder accepterVpcInfo(AwsEc2VpcPeeringConnectionVpcInfoDetails accepterVpcInfo)
Information about the accepter VPC.
- Parameters:
accepterVpcInfo- Information about the accepter VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accepterVpcInfo
default AwsEc2VpcPeeringConnectionDetails.Builder accepterVpcInfo(Consumer<AwsEc2VpcPeeringConnectionVpcInfoDetails.Builder> accepterVpcInfo)
Information about the accepter VPC.
This is a convenience method that creates an instance of theAwsEc2VpcPeeringConnectionVpcInfoDetails.Builderavoiding the need to create one manually viaAwsEc2VpcPeeringConnectionVpcInfoDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccepterVpcInfo(AwsEc2VpcPeeringConnectionVpcInfoDetails).- Parameters:
accepterVpcInfo- a consumer that will call methods onAwsEc2VpcPeeringConnectionVpcInfoDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
accepterVpcInfo(AwsEc2VpcPeeringConnectionVpcInfoDetails)
-
expirationTime
AwsEc2VpcPeeringConnectionDetails.Builder expirationTime(String expirationTime)
The time at which an unaccepted VPC peering connection will expire.
- Parameters:
expirationTime- The time at which an unaccepted VPC peering connection will expire.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requesterVpcInfo
AwsEc2VpcPeeringConnectionDetails.Builder requesterVpcInfo(AwsEc2VpcPeeringConnectionVpcInfoDetails requesterVpcInfo)
Information about the requester VPC.
- Parameters:
requesterVpcInfo- Information about the requester VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requesterVpcInfo
default AwsEc2VpcPeeringConnectionDetails.Builder requesterVpcInfo(Consumer<AwsEc2VpcPeeringConnectionVpcInfoDetails.Builder> requesterVpcInfo)
Information about the requester VPC.
This is a convenience method that creates an instance of theAwsEc2VpcPeeringConnectionVpcInfoDetails.Builderavoiding the need to create one manually viaAwsEc2VpcPeeringConnectionVpcInfoDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torequesterVpcInfo(AwsEc2VpcPeeringConnectionVpcInfoDetails).- Parameters:
requesterVpcInfo- a consumer that will call methods onAwsEc2VpcPeeringConnectionVpcInfoDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
requesterVpcInfo(AwsEc2VpcPeeringConnectionVpcInfoDetails)
-
status
AwsEc2VpcPeeringConnectionDetails.Builder status(AwsEc2VpcPeeringConnectionStatusDetails status)
The status of the VPC peering connection.
- Parameters:
status- The status of the VPC peering connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
default AwsEc2VpcPeeringConnectionDetails.Builder status(Consumer<AwsEc2VpcPeeringConnectionStatusDetails.Builder> status)
The status of the VPC peering connection.
This is a convenience method that creates an instance of theAwsEc2VpcPeeringConnectionStatusDetails.Builderavoiding the need to create one manually viaAwsEc2VpcPeeringConnectionStatusDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatus(AwsEc2VpcPeeringConnectionStatusDetails).- Parameters:
status- a consumer that will call methods onAwsEc2VpcPeeringConnectionStatusDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
status(AwsEc2VpcPeeringConnectionStatusDetails)
-
vpcPeeringConnectionId
AwsEc2VpcPeeringConnectionDetails.Builder vpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of the VPC peering connection.
- Parameters:
vpcPeeringConnectionId- The ID of the VPC peering connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-