Interface VpcPeeringConnection.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VpcPeeringConnection.Builder,
,VpcPeeringConnection> SdkBuilder<VpcPeeringConnection.Builder,
,VpcPeeringConnection> SdkPojo
- Enclosing class:
VpcPeeringConnection
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) associated with the GameLift fleet resource for this connection.A unique identifier for the fleet.gameLiftVpcId
(String gameLiftVpcId) A unique identifier for the VPC that contains the Amazon GameLift fleet for this connection.ipV4CidrBlock
(String ipV4CidrBlock) CIDR block of IPv4 addresses assigned to the VPC peering connection for the GameLift VPC.A unique identifier for a VPC with resources to be accessed by your Amazon GameLift fleet.default VpcPeeringConnection.Builder
The status information about the connection.status
(VpcPeeringConnectionStatus status) The status information about the connection.vpcPeeringConnectionId
(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 Details
-
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
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
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
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
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
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.Builder
avoiding the need to create one manually viaVpcPeeringConnectionStatus.builder()
.When the
Consumer
completes,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:
-
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
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.
-