Class VpcPeeringConnection
- java.lang.Object
-
- software.amazon.awssdk.services.gamelift.model.VpcPeeringConnection
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<VpcPeeringConnection.Builder,VpcPeeringConnection>
@Generated("software.amazon.awssdk:codegen") public final class VpcPeeringConnection extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VpcPeeringConnection.Builder,VpcPeeringConnection>
Represents a peering connection between a VPC on one of your Amazon Web Services accounts and the VPC for your Amazon GameLift fleets. This record may be for an active peering connection or a pending connection that has not yet been established.
Related actions
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceVpcPeeringConnection.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VpcPeeringConnection.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfleetArn()The Amazon Resource Name (ARN) associated with the GameLift fleet resource for this connection.StringfleetId()A unique identifier for the fleet.StringgameLiftVpcId()A unique identifier for the VPC that contains the Amazon GameLift fleet for this connection.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringipV4CidrBlock()CIDR block of IPv4 addresses assigned to the VPC peering connection for the GameLift VPC.StringpeerVpcId()A unique identifier for a VPC with resources to be accessed by your Amazon GameLift fleet.List<SdkField<?>>sdkFields()static Class<? extends VpcPeeringConnection.Builder>serializableBuilderClass()VpcPeeringConnectionStatusstatus()The status information about the connection.VpcPeeringConnection.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringvpcPeeringConnectionId()A unique identifier that is automatically assigned to the connection record.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
fleetId
public final String fleetId()
A unique identifier for the fleet. This ID determines the ID of the Amazon GameLift VPC for your fleet.
- Returns:
- A unique identifier for the fleet. This ID determines the ID of the Amazon GameLift VPC for your fleet.
-
fleetArn
public final String fleetArn()
The Amazon Resource Name (ARN) associated with the GameLift fleet resource for this connection.
- Returns:
- The Amazon Resource Name (ARN) associated with the GameLift fleet resource for this connection.
-
ipV4CidrBlock
public final 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.
- Returns:
- 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.
-
vpcPeeringConnectionId
public final 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.
- Returns:
- 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.
-
status
public final VpcPeeringConnectionStatus status()
The status information about the connection. Status indicates if a connection is pending, successful, or failed.
- Returns:
- The status information about the connection. Status indicates if a connection is pending, successful, or failed.
-
peerVpcId
public final 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.
- Returns:
- 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.
-
gameLiftVpcId
public final 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.
- Returns:
- 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.
-
toBuilder
public VpcPeeringConnection.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<VpcPeeringConnection.Builder,VpcPeeringConnection>
-
builder
public static VpcPeeringConnection.Builder builder()
-
serializableBuilderClass
public static Class<? extends VpcPeeringConnection.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-