Interface VpcPeeringConnection.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<VpcPeeringConnection.Builder,VpcPeeringConnection>,SdkBuilder<VpcPeeringConnection.Builder,VpcPeeringConnection>,SdkPojo
- Enclosing class:
- VpcPeeringConnection
public static interface VpcPeeringConnection.Builder extends SdkPojo, CopyableBuilder<VpcPeeringConnection.Builder,VpcPeeringConnection>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description VpcPeeringConnection.BuilderfleetArn(String fleetArn)The Amazon Resource Name (ARN) associated with the GameLift fleet resource for this connection.VpcPeeringConnection.BuilderfleetId(String fleetId)A unique identifier for the fleet.VpcPeeringConnection.BuildergameLiftVpcId(String gameLiftVpcId)A unique identifier for the VPC that contains the Amazon GameLift fleet for this connection.VpcPeeringConnection.BuilderipV4CidrBlock(String ipV4CidrBlock)CIDR block of IPv4 addresses assigned to the VPC peering connection for the GameLift VPC.VpcPeeringConnection.BuilderpeerVpcId(String peerVpcId)A unique identifier for a VPC with resources to be accessed by your Amazon GameLift fleet.default VpcPeeringConnection.Builderstatus(Consumer<VpcPeeringConnectionStatus.Builder> status)The status information about the connection.VpcPeeringConnection.Builderstatus(VpcPeeringConnectionStatus status)The status information about the connection.VpcPeeringConnection.BuildervpcPeeringConnectionId(String vpcPeeringConnectionId)A unique identifier that is automatically assigned to the connection record.-
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, sdkFields
-
-
-
-
Method Detail
-
fleetId
VpcPeeringConnection.Builder fleetId(String fleetId)
A unique identifier for the fleet. This ID determines the ID of the Amazon GameLift VPC for your fleet.
- Parameters:
fleetId- A unique identifier for the fleet. This ID determines the ID of the Amazon GameLift VPC for your fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fleetArn
VpcPeeringConnection.Builder fleetArn(String fleetArn)
The Amazon Resource Name (ARN) associated with the GameLift fleet resource for this connection.
- Parameters:
fleetArn- The Amazon Resource Name (ARN) associated with the GameLift fleet resource for this connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipV4CidrBlock
VpcPeeringConnection.Builder ipV4CidrBlock(String ipV4CidrBlock)
CIDR block of IPv4 addresses assigned to the VPC peering connection for the GameLift VPC. The peered VPC also has an IPv4 CIDR block associated with it; these blocks cannot overlap or the peering connection cannot be created.
- Parameters:
ipV4CidrBlock- CIDR block of IPv4 addresses assigned to the VPC peering connection for the GameLift VPC. The peered VPC also has an IPv4 CIDR block associated with it; these blocks cannot overlap or the peering connection cannot be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcPeeringConnectionId
VpcPeeringConnection.Builder vpcPeeringConnectionId(String vpcPeeringConnectionId)
A unique identifier that is automatically assigned to the connection record. This ID is referenced in VPC peering connection events, and is used when deleting a connection.
- Parameters:
vpcPeeringConnectionId- A unique identifier that is automatically assigned to the connection record. This ID is referenced in VPC peering connection events, and is used when deleting a connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
VpcPeeringConnection.Builder status(VpcPeeringConnectionStatus status)
The status information about the connection. Status indicates if a connection is pending, successful, or failed.
- Parameters:
status- The status information about the connection. Status indicates if a connection is pending, successful, or failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
default VpcPeeringConnection.Builder status(Consumer<VpcPeeringConnectionStatus.Builder> status)
The status information about the connection. Status indicates if a connection is pending, successful, or failed.
This is a convenience method that creates an instance of theVpcPeeringConnectionStatus.Builderavoiding the need to create one manually viaVpcPeeringConnectionStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatus(VpcPeeringConnectionStatus).- Parameters:
status- a consumer that will call methods onVpcPeeringConnectionStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
status(VpcPeeringConnectionStatus)
-
peerVpcId
VpcPeeringConnection.Builder peerVpcId(String peerVpcId)
A unique identifier for a VPC with resources to be accessed by your Amazon GameLift fleet. The VPC must be in the same Region as your fleet. To look up a VPC ID, use the VPC Dashboard in the Amazon Web Services Management Console. Learn more about VPC peering in VPC Peering with Amazon GameLift Fleets.
- Parameters:
peerVpcId- A unique identifier for a VPC with resources to be accessed by your Amazon GameLift fleet. The VPC must be in the same Region as your fleet. To look up a VPC ID, use the VPC Dashboard in the Amazon Web Services Management Console. Learn more about VPC peering in VPC Peering with Amazon GameLift Fleets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gameLiftVpcId
VpcPeeringConnection.Builder gameLiftVpcId(String gameLiftVpcId)
A unique identifier for the VPC that contains the Amazon GameLift fleet for this connection. This VPC is managed by Amazon GameLift and does not appear in your Amazon Web Services account.
- Parameters:
gameLiftVpcId- A unique identifier for the VPC that contains the Amazon GameLift fleet for this connection. This VPC is managed by Amazon GameLift and does not appear in your Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-