Class VpcPeeringAuthorization
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<VpcPeeringAuthorization.Builder,
VpcPeeringAuthorization>
Represents an authorization for a VPC peering connection between the VPC for an Amazon GameLift Servers 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:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
final Instant
Time stamp indicating when this authorization was issued.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final Instant
Time stamp indicating when this authorization expires (24 hours after issuance).final String
A unique identifier for the Amazon Web Services account that you use to manage your Amazon GameLift Servers fleet.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
The authorization's peer VPC Amazon Web Services account ID.final String
A unique identifier for a VPC with resources to be accessed by your Amazon GameLift Servers fleet.static Class
<? extends VpcPeeringAuthorization.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
gameLiftAwsAccountId
A unique identifier for the Amazon Web Services account that you use to manage your Amazon GameLift Servers 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 Servers fleet. You can find your Account ID in the Amazon Web Services Management Console under account settings.
-
peerVpcAwsAccountId
The authorization's peer VPC Amazon Web Services account ID.
- Returns:
- The authorization's peer VPC Amazon Web Services account ID.
-
peerVpcId
A unique identifier for a VPC with resources to be accessed by your Amazon GameLift Servers 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 Servers Fleets.
- Returns:
- A unique identifier for a VPC with resources to be accessed by your Amazon GameLift Servers 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 Servers Fleets.
-
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
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
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<VpcPeeringAuthorization.Builder,
VpcPeeringAuthorization> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-