@Generated(value="software.amazon.awssdk:codegen") public final class CreateVpcLinkRequest extends ApiGatewayRequest implements ToCopyableBuilder<CreateVpcLinkRequest.Builder,CreateVpcLinkRequest>
Creates a VPC link, under the caller's account in a selected region, in an asynchronous operation that typically takes 2-4 minutes to complete and become operational. The caller must have permissions to create and update VPC Endpoint services.
Modifier and Type | Class and Description |
---|---|
static interface |
CreateVpcLinkRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateVpcLinkRequest.Builder |
builder() |
String |
description()
The description of the VPC link.
|
boolean |
equals(Object obj) |
<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 |
name()
[Required] The name used to label and identify the VPC link.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateVpcLinkRequest.Builder> |
serializableBuilderClass() |
List<String> |
targetArns()
[Required] The ARNs of network load balancers of the VPC targeted by the VPC link.
|
CreateVpcLinkRequest.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 name()
[Required] The name used to label and identify the VPC link.
public String description()
The description of the VPC link.
public List<String> targetArns()
[Required] The ARNs of network load balancers of the VPC targeted by the VPC link. The network load balancers must be owned by the same AWS account of the API owner.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public CreateVpcLinkRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateVpcLinkRequest.Builder,CreateVpcLinkRequest>
toBuilder
in class ApiGatewayRequest
public static CreateVpcLinkRequest.Builder builder()
public static Class<? extends CreateVpcLinkRequest.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.