@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VpcPeeringConnection extends Object implements Serializable, Cloneable, StructuredPojo
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:
Constructor and Description |
---|
VpcPeeringConnection() |
Modifier and Type | Method and Description |
---|---|
VpcPeeringConnection |
clone() |
boolean |
equals(Object obj) |
String |
getFleetId()
Unique identifier for a fleet.
|
String |
getGameLiftVpcId()
Unique identifier for the VPC that contains the Amazon GameLift fleet for this connection.
|
String |
getIpV4CidrBlock()
CIDR block of IPv4 addresses assigned to the VPC peering connection for the GameLift VPC.
|
String |
getPeerVpcId()
Unique identifier for a VPC with resources to be accessed by your Amazon GameLift fleet.
|
VpcPeeringConnectionStatus |
getStatus()
Object that contains status information about the connection.
|
String |
getVpcPeeringConnectionId()
Unique identifier that is automatically assigned to the connection record.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFleetId(String fleetId)
Unique identifier for a fleet.
|
void |
setGameLiftVpcId(String gameLiftVpcId)
Unique identifier for the VPC that contains the Amazon GameLift fleet for this connection.
|
void |
setIpV4CidrBlock(String ipV4CidrBlock)
CIDR block of IPv4 addresses assigned to the VPC peering connection for the GameLift VPC.
|
void |
setPeerVpcId(String peerVpcId)
Unique identifier for a VPC with resources to be accessed by your Amazon GameLift fleet.
|
void |
setStatus(VpcPeeringConnectionStatus status)
Object that contains status information about the connection.
|
void |
setVpcPeeringConnectionId(String vpcPeeringConnectionId)
Unique identifier that is automatically assigned to the connection record.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
VpcPeeringConnection |
withFleetId(String fleetId)
Unique identifier for a fleet.
|
VpcPeeringConnection |
withGameLiftVpcId(String gameLiftVpcId)
Unique identifier for the VPC that contains the Amazon GameLift fleet for this connection.
|
VpcPeeringConnection |
withIpV4CidrBlock(String ipV4CidrBlock)
CIDR block of IPv4 addresses assigned to the VPC peering connection for the GameLift VPC.
|
VpcPeeringConnection |
withPeerVpcId(String peerVpcId)
Unique identifier for a VPC with resources to be accessed by your Amazon GameLift fleet.
|
VpcPeeringConnection |
withStatus(VpcPeeringConnectionStatus status)
Object that contains status information about the connection.
|
VpcPeeringConnection |
withVpcPeeringConnectionId(String vpcPeeringConnectionId)
Unique identifier that is automatically assigned to the connection record.
|
public void setFleetId(String fleetId)
Unique identifier for a fleet. This ID determines the ID of the Amazon GameLift VPC for your fleet.
fleetId
- Unique identifier for a fleet. This ID determines the ID of the Amazon GameLift VPC for your fleet.public String getFleetId()
Unique identifier for a fleet. This ID determines the ID of the Amazon GameLift VPC for your fleet.
public VpcPeeringConnection withFleetId(String fleetId)
Unique identifier for a fleet. This ID determines the ID of the Amazon GameLift VPC for your fleet.
fleetId
- Unique identifier for a fleet. This ID determines the ID of the Amazon GameLift VPC for your fleet.public void setIpV4CidrBlock(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.
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 getIpV4CidrBlock()
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 VpcPeeringConnection withIpV4CidrBlock(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.
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 void setVpcPeeringConnectionId(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.
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 String getVpcPeeringConnectionId()
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 VpcPeeringConnection withVpcPeeringConnectionId(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.
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 void setStatus(VpcPeeringConnectionStatus status)
Object that contains status information about the connection. Status indicates if a connection is pending, successful, or failed.
status
- Object that contains status information about the connection. Status indicates if a connection is pending,
successful, or failed.public VpcPeeringConnectionStatus getStatus()
Object that contains status information about the connection. Status indicates if a connection is pending, successful, or failed.
public VpcPeeringConnection withStatus(VpcPeeringConnectionStatus status)
Object that contains status information about the connection. Status indicates if a connection is pending, successful, or failed.
status
- Object that contains status information about the connection. Status indicates if a connection is pending,
successful, or failed.public void setPeerVpcId(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.
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 getPeerVpcId()
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 VpcPeeringConnection withPeerVpcId(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.
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 void setGameLiftVpcId(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.
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 String getGameLiftVpcId()
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 withGameLiftVpcId(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.
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 String toString()
toString
in class Object
Object.toString()
public VpcPeeringConnection clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.