@Generated(value="software.amazon.awssdk:codegen") public class ConfirmPrivateVirtualInterfaceRequest extends DirectConnectRequest implements ToCopyableBuilder<ConfirmPrivateVirtualInterfaceRequest.Builder,ConfirmPrivateVirtualInterfaceRequest>
Container for the parameters to the ConfirmPrivateVirtualInterface operation.
Modifier and Type | Class and Description |
---|---|
static interface |
ConfirmPrivateVirtualInterfaceRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static ConfirmPrivateVirtualInterfaceRequest.Builder |
builder() |
String |
directConnectGatewayId()
ID of the direct connect gateway that will be attached to the virtual interface.
|
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() |
static Class<? extends ConfirmPrivateVirtualInterfaceRequest.Builder> |
serializableBuilderClass() |
ConfirmPrivateVirtualInterfaceRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
virtualGatewayId()
ID of the virtual private gateway that will be attached to the virtual interface.
|
String |
virtualInterfaceId()
Returns the value of the VirtualInterfaceId property for this object.
|
requestOverrideConfig
copy
public String virtualInterfaceId()
public String virtualGatewayId()
ID of the virtual private gateway that will be attached to the virtual interface.
A virtual private gateway can be managed via the Amazon Virtual Private Cloud (VPC) console or the EC2 CreateVpnGateway action.
Default: None
A virtual private gateway can be managed via the Amazon Virtual Private Cloud (VPC) console or the EC2 CreateVpnGateway action.
Default: None
public String directConnectGatewayId()
ID of the direct connect gateway that will be attached to the virtual interface.
A direct connect gateway can be managed via the AWS Direct Connect console or the CreateDirectConnectGateway action.
Default: None
A direct connect gateway can be managed via the AWS Direct Connect console or the CreateDirectConnectGateway action.
Default: None
public ConfirmPrivateVirtualInterfaceRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ConfirmPrivateVirtualInterfaceRequest.Builder,ConfirmPrivateVirtualInterfaceRequest>
toBuilder
in class DirectConnectRequest
public static ConfirmPrivateVirtualInterfaceRequest.Builder builder()
public static Class<? extends ConfirmPrivateVirtualInterfaceRequest.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.