@Generated(value="software.amazon.awssdk:codegen") public final class VpcPeeringConnection extends Object implements StructuredPojo, ToCopyableBuilder<VpcPeeringConnection.Builder,VpcPeeringConnection>
Represents a peering connection between a VPC on one of your AWS 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.
VPC peering connection operations include:
Modifier and Type | Class and Description |
---|---|
static interface |
VpcPeeringConnection.Builder |
Modifier and Type | Method and Description |
---|---|
static VpcPeeringConnection.Builder |
builder() |
boolean |
equals(Object obj) |
String |
fleetId()
Unique identifier for a fleet.
|
String |
gameLiftVpcId()
Unique identifier for the VPC that contains the Amazon GameLift fleet for this connection.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
ipV4CidrBlock()
CIDR block of IPv4 addresses assigned to the VPC peering connection for the GameLift VPC.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
peerVpcId()
Unique identifier for a VPC with resources to be accessed by your Amazon GameLift fleet.
|
static Class<? extends VpcPeeringConnection.Builder> |
serializableBuilderClass() |
VpcPeeringConnectionStatus |
status()
Object that contains status information about the connection.
|
VpcPeeringConnection.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
vpcPeeringConnectionId()
Unique identifier that is automatically assigned to the connection record.
|
copy
public String fleetId()
Unique identifier for a fleet. This ID determines the ID of the Amazon GameLift VPC for your fleet.
public 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.
public String vpcPeeringConnectionId()
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 with DeleteVpcPeeringConnection.
public VpcPeeringConnectionStatus status()
Object that contains status information about the connection. Status indicates if a connection is pending, successful, or failed.
public String peerVpcId()
Unique identifier for a VPC with resources to be accessed by your Amazon GameLift fleet. The VPC must be in the same region where your fleet is deployed. To get VPC information, including IDs, use the Virtual Private Cloud service tools, including the VPC Dashboard in the AWS Management Console.
public String gameLiftVpcId()
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 AWS account.
public VpcPeeringConnection.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<VpcPeeringConnection.Builder,VpcPeeringConnection>
public static VpcPeeringConnection.Builder builder()
public static Class<? extends VpcPeeringConnection.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.