CopyableBuilder<AttachClassicLinkVpcRequest.Builder,AttachClassicLinkVpcRequest>
, SdkBuilder<AttachClassicLinkVpcRequest.Builder,AttachClassicLinkVpcRequest>
public static interface AttachClassicLinkVpcRequest.Builder extends CopyableBuilder<AttachClassicLinkVpcRequest.Builder,AttachClassicLinkVpcRequest>
Modifier and Type | Method | Description |
---|---|---|
AttachClassicLinkVpcRequest.Builder |
groups(String... groups) |
The ID of one or more of the VPC's security groups.
|
AttachClassicLinkVpcRequest.Builder |
groups(Collection<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 |
vpcId(String vpcId) |
The ID of a ClassicLink-enabled VPC.
|
copy
apply, 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.
NOTE: This method appends the values to the existing list (if any). Use
#setGroups(java.util.Collection)
or #withGroups(java.util.Collection)
if you want to override
the existing values.
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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.