@Generated(value="software.amazon.awssdk:codegen") public final class VpcPeeringAuthorization extends Object implements StructuredPojo, ToCopyableBuilder<VpcPeeringAuthorization.Builder,VpcPeeringAuthorization>
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:
Modifier and Type | Class and Description |
---|---|
static interface |
VpcPeeringAuthorization.Builder |
Modifier and Type | Method and Description |
---|---|
static VpcPeeringAuthorization.Builder |
builder() |
Instant |
creationTime()
Time stamp indicating when this authorization was issued.
|
boolean |
equals(Object obj) |
Instant |
expirationTime()
Time stamp indicating when this authorization expires (24 hours after issuance).
|
String |
gameLiftAwsAccountId()
Unique identifier for the AWS account that you use to manage your Amazon GameLift fleet.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
peerVpcAwsAccountId()
|
String |
peerVpcId()
Unique identifier for a VPC with resources to be accessed by your Amazon GameLift fleet.
|
static Class<? extends VpcPeeringAuthorization.Builder> |
serializableBuilderClass() |
VpcPeeringAuthorization.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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.
public String peerVpcAwsAccountId()
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 Instant creationTime()
Time stamp indicating when this authorization was issued. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").
public Instant 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 VpcPeeringAuthorization.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<VpcPeeringAuthorization.Builder,VpcPeeringAuthorization>
public static VpcPeeringAuthorization.Builder builder()
public static Class<? extends VpcPeeringAuthorization.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.