Class VpcPeeringConnection
- All Implemented Interfaces:
Serializable
,SdkPojo
,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:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic VpcPeeringConnection.Builder
builder()
final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final String
fleetArn()
The Amazon Resource Name (ARN) associated with the GameLift fleet resource for this connection.final String
fleetId()
A unique identifier for the fleet.final String
A unique identifier for the VPC that contains the Amazon GameLift fleet for this connection.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
CIDR block of IPv4 addresses assigned to the VPC peering connection for the GameLift VPC.final String
A unique identifier for a VPC with resources to be accessed by your Amazon GameLift fleet.static Class
<? extends VpcPeeringConnection.Builder> status()
The status information about the connection.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final String
A unique identifier that is automatically assigned to the connection record.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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
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
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
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
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
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
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
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<VpcPeeringConnection.Builder,
VpcPeeringConnection> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
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. -
getValueForField
-
sdkFields
-