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.Buildergroups(Collection<GroupIdentifier> groups)The security groups.ClassicLinkInstance.Buildergroups(Consumer<GroupIdentifier.Builder>... groups)The security groups.ClassicLinkInstance.Buildergroups(GroupIdentifier... groups)The security groups.ClassicLinkInstance.BuilderinstanceId(String instanceId)The ID of the instance.ClassicLinkInstance.Buildertags(Collection<Tag> tags)Any tags assigned to the instance.ClassicLinkInstance.Buildertags(Consumer<Tag.Builder>... tags)Any tags assigned to the instance.ClassicLinkInstance.Buildertags(Tag... tags)Any tags assigned to the instance.ClassicLinkInstance.BuildervpcId(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, 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.Builderavoiding the need to create one manually viaGroupIdentifier.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,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.
-
-