Interface ClassicLinkInstance.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ClassicLinkInstance.Builder,ClassicLinkInstance>
,SdkBuilder<ClassicLinkInstance.Builder,ClassicLinkInstance>
,SdkPojo
- Enclosing class:
- ClassicLinkInstance
public static interface ClassicLinkInstance.Builder extends SdkPojo, CopyableBuilder<ClassicLinkInstance.Builder,ClassicLinkInstance>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClassicLinkInstance.Builder
groups(Collection<GroupIdentifier> groups)
The security groups.ClassicLinkInstance.Builder
groups(Consumer<GroupIdentifier.Builder>... groups)
The security groups.ClassicLinkInstance.Builder
groups(GroupIdentifier... groups)
The 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.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
groups
ClassicLinkInstance.Builder groups(Collection<GroupIdentifier> groups)
The security groups.
- Parameters:
groups
- The security groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
ClassicLinkInstance.Builder groups(GroupIdentifier... groups)
The security groups.
- Parameters:
groups
- The security groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
ClassicLinkInstance.Builder groups(Consumer<GroupIdentifier.Builder>... groups)
The security groups.
This is a convenience method that creates an instance of theGroupIdentifier.Builder
avoiding the need to create one manually viaGroupIdentifier.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#groups(List
.) - Parameters:
groups
- a consumer that will call methods onGroupIdentifier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#groups(java.util.Collection
)
-
instanceId
ClassicLinkInstance.Builder instanceId(String instanceId)
The ID of the instance.
- Parameters:
instanceId
- The ID of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ClassicLinkInstance.Builder tags(Collection<Tag> tags)
Any tags assigned to the instance.
- Parameters:
tags
- Any tags assigned to the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ClassicLinkInstance.Builder tags(Tag... tags)
Any tags assigned to the instance.
- Parameters:
tags
- Any tags assigned to the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ClassicLinkInstance.Builder tags(Consumer<Tag.Builder>... tags)
Any tags assigned to the instance.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#tags(List
.) - Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection
)
-
vpcId
ClassicLinkInstance.Builder vpcId(String vpcId)
The ID of the VPC.
- Parameters:
vpcId
- The ID of the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-