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
Modifier and TypeMethodDescriptiongroups(Collection<GroupIdentifier> groups) The security groups.groups(Consumer<GroupIdentifier.Builder>... groups) The security groups.groups(GroupIdentifier... groups) The security groups.instanceId(String instanceId) The ID of the instance.tags(Collection<Tag> tags) Any tags assigned to the instance.tags(Consumer<Tag.Builder>... tags) Any tags assigned to the instance.Any tags assigned to the instance.The ID of the VPC.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
The security groups.
- Parameters:
groups- The security groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 togroups(List<GroupIdentifier>).- 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:
-
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
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
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
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 totags(List<Tag>).- 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:
-
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.
-