@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 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
Constructor and Description |
---|
VpcPeeringConnection() |
Modifier and Type | Method and Description |
---|---|
VpcPeeringConnection |
clone() |
boolean |
equals(Object obj) |
String |
getFleetArn()
The Amazon Resource Name (ARN)
associated with the GameLift fleet resource for this connection.
|
String |
getFleetId()
A unique identifier for the fleet.
|
String |
getGameLiftVpcId()
A 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()
A unique identifier for a VPC with resources to be accessed by your Amazon GameLift fleet.
|
VpcPeeringConnectionStatus |
getStatus()
The status information about the connection.
|
String |
getVpcPeeringConnectionId()
A 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 |
setFleetArn(String fleetArn)
The Amazon Resource Name (ARN)
associated with the GameLift fleet resource for this connection.
|
void |
setFleetId(String fleetId)
A unique identifier for the fleet.
|
void |
setGameLiftVpcId(String gameLiftVpcId)
A 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)
A unique identifier for a VPC with resources to be accessed by your Amazon GameLift fleet.
|
void |
setStatus(VpcPeeringConnectionStatus status)
The status information about the connection.
|
void |
setVpcPeeringConnectionId(String vpcPeeringConnectionId)
A unique identifier that is automatically assigned to the connection record.
|
String |
toString()
Returns a string representation of this object.
|
VpcPeeringConnection |
withFleetArn(String fleetArn)
The Amazon Resource Name (ARN)
associated with the GameLift fleet resource for this connection.
|
VpcPeeringConnection |
withFleetId(String fleetId)
A unique identifier for the fleet.
|
VpcPeeringConnection |
withGameLiftVpcId(String gameLiftVpcId)
A 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)
A unique identifier for a VPC with resources to be accessed by your Amazon GameLift fleet.
|
VpcPeeringConnection |
withStatus(VpcPeeringConnectionStatus status)
The status information about the connection.
|
VpcPeeringConnection |
withVpcPeeringConnectionId(String vpcPeeringConnectionId)
A unique identifier that is automatically assigned to the connection record.
|
public void setFleetId(String fleetId)
A unique identifier for the fleet. This ID determines the ID of the Amazon GameLift VPC for your fleet.
fleetId
- A unique identifier for the fleet. This ID determines the ID of the Amazon GameLift VPC for your fleet.public String getFleetId()
A unique identifier for the fleet. This ID determines the ID of the Amazon GameLift VPC for your fleet.
public VpcPeeringConnection withFleetId(String fleetId)
A unique identifier for the fleet. This ID determines the ID of the Amazon GameLift VPC for your fleet.
fleetId
- A unique identifier for the fleet. This ID determines the ID of the Amazon GameLift VPC for your fleet.public void setFleetArn(String fleetArn)
The Amazon Resource Name (ARN) associated with the GameLift fleet resource for this connection.
fleetArn
- The Amazon Resource Name (ARN) associated with the
GameLift fleet resource for this connection.public String getFleetArn()
The Amazon Resource Name (ARN) associated with the GameLift fleet resource for this connection.
public VpcPeeringConnection withFleetArn(String fleetArn)
The Amazon Resource Name (ARN) associated with the GameLift fleet resource for this connection.
fleetArn
- The Amazon Resource Name (ARN) associated with the
GameLift fleet resource for this connection.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)
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.
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.public String getVpcPeeringConnectionId()
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.
public VpcPeeringConnection withVpcPeeringConnectionId(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.
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.public void setStatus(VpcPeeringConnectionStatus status)
The status information about the connection. Status indicates if a connection is pending, successful, or failed.
status
- The status information about the connection. Status indicates if a connection is pending, successful, or
failed.public VpcPeeringConnectionStatus getStatus()
The status information about the connection. Status indicates if a connection is pending, successful, or failed.
public VpcPeeringConnection withStatus(VpcPeeringConnectionStatus status)
The status information about the connection. Status indicates if a connection is pending, successful, or failed.
status
- The status information about the connection. Status indicates if a connection is pending, successful, or
failed.public void setPeerVpcId(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.
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.public String getPeerVpcId()
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.
public VpcPeeringConnection withPeerVpcId(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.
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.public void setGameLiftVpcId(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.
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.public String getGameLiftVpcId()
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.
public VpcPeeringConnection withGameLiftVpcId(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.
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.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.