Interface VpcPeeringConnection.Builder

  • 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

      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

      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 the VpcPeeringConnectionStatus.Builder avoiding the need to create one manually via VpcPeeringConnectionStatus.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to status(VpcPeeringConnectionStatus).

      Parameters:
      status - a consumer that will call methods on VpcPeeringConnectionStatus.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.