@Generated(value="software.amazon.awssdk:codegen") public final class CreateVpcPeeringConnectionRequest extends GameLiftRequest implements ToCopyableBuilder<CreateVpcPeeringConnectionRequest.Builder,CreateVpcPeeringConnectionRequest>
Represents the input for a request action.
Modifier and Type | Class and Description |
---|---|
static interface |
CreateVpcPeeringConnectionRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateVpcPeeringConnectionRequest.Builder |
builder() |
boolean |
equals(Object obj) |
String |
fleetId()
Unique identifier for a fleet.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
peerVpcAwsAccountId()
Unique identifier for the AWS account with the VPC that you want to peer your Amazon GameLift fleet with.
|
String |
peerVpcId()
Unique identifier for a VPC with resources to be accessed by your Amazon GameLift fleet.
|
static Class<? extends CreateVpcPeeringConnectionRequest.Builder> |
serializableBuilderClass() |
CreateVpcPeeringConnectionRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String fleetId()
Unique identifier for a fleet. This tells Amazon GameLift which GameLift VPC to peer with.
public String peerVpcAwsAccountId()
Unique identifier for the AWS account with the VPC that you want to peer your Amazon GameLift fleet with. You can find your Account ID in the AWS Management Console under account settings.
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 CreateVpcPeeringConnectionRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateVpcPeeringConnectionRequest.Builder,CreateVpcPeeringConnectionRequest>
toBuilder
in class GameLiftRequest
public static CreateVpcPeeringConnectionRequest.Builder builder()
public static Class<? extends CreateVpcPeeringConnectionRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.