Class VpcPeeringAuthorization
- java.lang.Object
-
- software.amazon.awssdk.services.gamelift.model.VpcPeeringAuthorization
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<VpcPeeringAuthorization.Builder,VpcPeeringAuthorization>
@Generated("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
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceVpcPeeringAuthorization.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VpcPeeringAuthorization.Builderbuilder()InstantcreationTime()Time stamp indicating when this authorization was issued.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)InstantexpirationTime()Time stamp indicating when this authorization expires (24 hours after issuance).StringgameLiftAwsAccountId()A unique identifier for the Amazon Web Services account that you use to manage your Amazon GameLift fleet.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringpeerVpcAwsAccountId()The authorization's peer VPC Amazon Web Services account ID.StringpeerVpcId()A unique identifier for a VPC with resources to be accessed by your Amazon GameLift fleet.List<SdkField<?>>sdkFields()static Class<? extends VpcPeeringAuthorization.Builder>serializableBuilderClass()VpcPeeringAuthorization.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
gameLiftAwsAccountId
public final String gameLiftAwsAccountId()
A unique identifier for the Amazon Web Services account that you use to manage your Amazon GameLift fleet. You can find your Account ID in the Amazon Web Services Management Console under account settings.
- Returns:
- A unique identifier for the Amazon Web Services account that you use to manage your Amazon GameLift fleet. You can find your Account ID in the Amazon Web Services Management Console under account settings.
-
peerVpcAwsAccountId
public final String peerVpcAwsAccountId()
The authorization's peer VPC Amazon Web Services account ID.
- Returns:
- The authorization's peer VPC Amazon Web Services account ID.
-
peerVpcId
public final 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.
- Returns:
- 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.
-
creationTime
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").- Returns:
- Time stamp indicating when this authorization was issued. Format is a number expressed in Unix time as
milliseconds (for example
"1469498468.057").
-
expirationTime
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").- Returns:
- 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").
-
toBuilder
public VpcPeeringAuthorization.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<VpcPeeringAuthorization.Builder,VpcPeeringAuthorization>
-
builder
public static VpcPeeringAuthorization.Builder builder()
-
serializableBuilderClass
public static Class<? extends VpcPeeringAuthorization.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-