CopyableBuilder<ClassicLinkInstance.Builder,ClassicLinkInstance>
, SdkBuilder<ClassicLinkInstance.Builder,ClassicLinkInstance>
public static interface ClassicLinkInstance.Builder extends CopyableBuilder<ClassicLinkInstance.Builder,ClassicLinkInstance>
Modifier and Type | Method | Description |
---|---|---|
ClassicLinkInstance.Builder |
groups(Collection<GroupIdentifier> groups) |
A list of security groups.
|
ClassicLinkInstance.Builder |
groups(GroupIdentifier... groups) |
A list of security groups.
|
ClassicLinkInstance.Builder |
instanceId(String instanceId) |
The ID of the instance.
|
ClassicLinkInstance.Builder |
tags(Collection<Tag> tags) |
Any tags assigned to the instance.
|
ClassicLinkInstance.Builder |
tags(Tag... tags) |
Any tags assigned to the instance.
|
ClassicLinkInstance.Builder |
vpcId(String vpcId) |
The ID of the VPC.
|
copy
apply, build
ClassicLinkInstance.Builder groups(Collection<GroupIdentifier> groups)
A list of security groups.
groups
- A list of security groups.ClassicLinkInstance.Builder groups(GroupIdentifier... groups)
A list of security groups.
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
- A list of security groups.ClassicLinkInstance.Builder instanceId(String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.ClassicLinkInstance.Builder tags(Collection<Tag> tags)
Any tags assigned to the instance.
tags
- Any tags assigned to the instance.ClassicLinkInstance.Builder tags(Tag... tags)
Any tags assigned to the instance.
NOTE: This method appends the values to the existing list (if any). Use
#setTags(java.util.Collection)
or #withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Any tags assigned to the instance.ClassicLinkInstance.Builder vpcId(String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.