Interface CreateHostResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeStarConnectionsResponse.Builder
,CopyableBuilder<CreateHostResponse.Builder,
,CreateHostResponse> SdkBuilder<CreateHostResponse.Builder,
,CreateHostResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateHostResponse
public static interface CreateHostResponse.Builder
extends CodeStarConnectionsResponse.Builder, SdkPojo, CopyableBuilder<CreateHostResponse.Builder,CreateHostResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the host to be created.tags
(Collection<Tag> tags) Tags for the created host.tags
(Consumer<Tag.Builder>... tags) Tags for the created host.Tags for the created host.Methods inherited from interface software.amazon.awssdk.services.codestarconnections.model.CodeStarConnectionsResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
hostArn
The Amazon Resource Name (ARN) of the host to be created.
- Parameters:
hostArn
- The Amazon Resource Name (ARN) of the host to be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags for the created host.
- Parameters:
tags
- Tags for the created host.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags for the created host.
- Parameters:
tags
- Tags for the created host.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags for the created host.
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 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:
-