public static interface ClassicLinkInstance.Builder extends SdkPojo, CopyableBuilder<ClassicLinkInstance.Builder,ClassicLinkInstance>
Modifier and Type | Method and Description |
---|---|
ClassicLinkInstance.Builder |
groups(Collection<GroupIdentifier> groups)
A list of security groups.
|
ClassicLinkInstance.Builder |
groups(Consumer<GroupIdentifier.Builder>... 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(Consumer<Tag.Builder>... 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.
|
equalsBySdkFields, sdkFields
copy
applyMutation, 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.
groups
- A list of security groups.ClassicLinkInstance.Builder groups(Consumer<GroupIdentifier.Builder>... groups)
A list of security groups.
This is a convenience that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #groups(List)
.groups
- a consumer that will call methods on List.Builder
#groups(List)
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.
tags
- Any tags assigned to the instance.ClassicLinkInstance.Builder tags(Consumer<Tag.Builder>... tags)
Any tags assigned to the instance.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
ClassicLinkInstance.Builder vpcId(String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.Copyright © 2020. All rights reserved.