@Generated(value="software.amazon.awssdk:codegen") public final class VpcPeeringAuthorization extends Object implements SdkPojo, Serializable, 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.
Related actions
CreateVpcPeeringAuthorization | DescribeVpcPeeringAuthorizations | DeleteVpcPeeringAuthorization | CreateVpcPeeringConnection | DescribeVpcPeeringConnections | DeleteVpcPeeringConnection | All APIs by task
| 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) |
boolean |
equalsBySdkFields(Object obj) |
Instant |
expirationTime()
Time stamp indicating when this authorization expires (24 hours after issuance).
|
String |
gameLiftAwsAccountId()
A unique identifier for the Amazon Web Services account that you use to manage your GameLift fleet.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
peerVpcAwsAccountId()
|
String |
peerVpcId()
A unique identifier for a VPC with resources to be accessed by your GameLift fleet.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends VpcPeeringAuthorization.Builder> |
serializableBuilderClass() |
VpcPeeringAuthorization.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String gameLiftAwsAccountId()
A unique identifier for the Amazon Web Services account that you use to manage your GameLift fleet. You can find your Account ID in the Amazon Web Services Management Console under account settings.
public final String peerVpcAwsAccountId()
public final String peerVpcId()
A unique identifier for a VPC with resources to be accessed by your 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 GameLift Fleets.
public final Instant creationTime()
Time stamp indicating when this authorization was issued. Format is a number expressed in Unix time as
milliseconds (for example "1469498468.057").
"1469498468.057").public final 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").
"1469498468.057").public VpcPeeringAuthorization.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<VpcPeeringAuthorization.Builder,VpcPeeringAuthorization>public static VpcPeeringAuthorization.Builder builder()
public static Class<? extends VpcPeeringAuthorization.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.