@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VpcPeeringAuthorization extends Object implements Serializable, Cloneable, StructuredPojo
Represents an authorization for a VPC peering connection between the VPC for an Amazon GameLift fleet and another VPC on an account you have access to. This authorization must exist and be valid for the peering connection to be established. Authorizations are valid for 24 hours after they are issued.
VPC peering connection operations include:
Constructor and Description |
---|
VpcPeeringAuthorization() |
Modifier and Type | Method and Description |
---|---|
VpcPeeringAuthorization |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationTime()
Time stamp indicating when this authorization was issued.
|
Date |
getExpirationTime()
Time stamp indicating when this authorization expires (24 hours after issuance).
|
String |
getGameLiftAwsAccountId()
Unique identifier for the AWS account that you use to manage your Amazon GameLift fleet.
|
String |
getPeerVpcAwsAccountId()
|
String |
getPeerVpcId()
Unique identifier for a VPC with resources to be accessed by your Amazon GameLift fleet.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationTime(Date creationTime)
Time stamp indicating when this authorization was issued.
|
void |
setExpirationTime(Date expirationTime)
Time stamp indicating when this authorization expires (24 hours after issuance).
|
void |
setGameLiftAwsAccountId(String gameLiftAwsAccountId)
Unique identifier for the AWS account that you use to manage your Amazon GameLift fleet.
|
void |
setPeerVpcAwsAccountId(String peerVpcAwsAccountId)
|
void |
setPeerVpcId(String peerVpcId)
Unique identifier for a VPC with resources to be accessed by your Amazon GameLift fleet.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
VpcPeeringAuthorization |
withCreationTime(Date creationTime)
Time stamp indicating when this authorization was issued.
|
VpcPeeringAuthorization |
withExpirationTime(Date expirationTime)
Time stamp indicating when this authorization expires (24 hours after issuance).
|
VpcPeeringAuthorization |
withGameLiftAwsAccountId(String gameLiftAwsAccountId)
Unique identifier for the AWS account that you use to manage your Amazon GameLift fleet.
|
VpcPeeringAuthorization |
withPeerVpcAwsAccountId(String peerVpcAwsAccountId)
|
VpcPeeringAuthorization |
withPeerVpcId(String peerVpcId)
Unique identifier for a VPC with resources to be accessed by your Amazon GameLift fleet.
|
public void setGameLiftAwsAccountId(String gameLiftAwsAccountId)
Unique identifier for the AWS account that you use to manage your Amazon GameLift fleet. You can find your Account ID in the AWS Management Console under account settings.
gameLiftAwsAccountId
- Unique identifier for the AWS account that you use to manage your Amazon GameLift fleet. You can find your
Account ID in the AWS Management Console under account settings.public String getGameLiftAwsAccountId()
Unique identifier for the AWS account that you use to manage your Amazon GameLift fleet. You can find your Account ID in the AWS Management Console under account settings.
public VpcPeeringAuthorization withGameLiftAwsAccountId(String gameLiftAwsAccountId)
Unique identifier for the AWS account that you use to manage your Amazon GameLift fleet. You can find your Account ID in the AWS Management Console under account settings.
gameLiftAwsAccountId
- Unique identifier for the AWS account that you use to manage your Amazon GameLift fleet. You can find your
Account ID in the AWS Management Console under account settings.public void setPeerVpcAwsAccountId(String peerVpcAwsAccountId)
peerVpcAwsAccountId
- public String getPeerVpcAwsAccountId()
public VpcPeeringAuthorization withPeerVpcAwsAccountId(String peerVpcAwsAccountId)
peerVpcAwsAccountId
- 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 VpcPeeringAuthorization 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 setCreationTime(Date creationTime)
Time stamp indicating when this authorization was issued. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").
creationTime
- Time stamp indicating when this authorization was issued. Format is a number expressed in Unix time as
milliseconds (for example "1469498468.057").public Date getCreationTime()
Time stamp indicating when this authorization was issued. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").
public VpcPeeringAuthorization withCreationTime(Date creationTime)
Time stamp indicating when this authorization was issued. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").
creationTime
- Time stamp indicating when this authorization was issued. Format is a number expressed in Unix time as
milliseconds (for example "1469498468.057").public void setExpirationTime(Date expirationTime)
Time stamp indicating when this authorization expires (24 hours after issuance). Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").
expirationTime
- Time stamp indicating when this authorization expires (24 hours after issuance). Format is a number
expressed in Unix time as milliseconds (for example "1469498468.057").public Date getExpirationTime()
Time stamp indicating when this authorization expires (24 hours after issuance). Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").
public VpcPeeringAuthorization withExpirationTime(Date expirationTime)
Time stamp indicating when this authorization expires (24 hours after issuance). Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").
expirationTime
- Time stamp indicating when this authorization expires (24 hours after issuance). Format is a number
expressed in Unix time as milliseconds (for example "1469498468.057").public String toString()
toString
in class Object
Object.toString()
public VpcPeeringAuthorization 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.