public static interface AttachClassicLinkVpcRequest.Builder extends Ec2Request.Builder, CopyableBuilder<AttachClassicLinkVpcRequest.Builder,AttachClassicLinkVpcRequest>
Modifier and Type | Method and Description |
---|---|
AttachClassicLinkVpcRequest.Builder |
groups(Collection<String> groups)
The ID of one or more of the VPC's security groups.
|
AttachClassicLinkVpcRequest.Builder |
groups(String... groups)
The ID of one or more of the VPC's security groups.
|
AttachClassicLinkVpcRequest.Builder |
instanceId(String instanceId)
The ID of an EC2-Classic instance to link to the ClassicLink-enabled VPC.
|
AttachClassicLinkVpcRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
AttachClassicLinkVpcRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
AttachClassicLinkVpcRequest.Builder |
vpcId(String vpcId)
The ID of a ClassicLink-enabled VPC.
|
build
overrideConfiguration
copy
applyMutation, build
AttachClassicLinkVpcRequest.Builder groups(Collection<String> groups)
The ID of one or more of the VPC's security groups. You cannot specify security groups from a different VPC.
groups
- The ID of one or more of the VPC's security groups. You cannot specify security groups from a
different VPC.AttachClassicLinkVpcRequest.Builder groups(String... groups)
The ID of one or more of the VPC's security groups. You cannot specify security groups from a different VPC.
groups
- The ID of one or more of the VPC's security groups. You cannot specify security groups from a
different VPC.AttachClassicLinkVpcRequest.Builder instanceId(String instanceId)
The ID of an EC2-Classic instance to link to the ClassicLink-enabled VPC.
instanceId
- The ID of an EC2-Classic instance to link to the ClassicLink-enabled VPC.AttachClassicLinkVpcRequest.Builder vpcId(String vpcId)
The ID of a ClassicLink-enabled VPC.
vpcId
- The ID of a ClassicLink-enabled VPC.AttachClassicLinkVpcRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.AttachClassicLinkVpcRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.