Interface CreateHostResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeConnectionsResponse.Builder,CopyableBuilder<CreateHostResponse.Builder,CreateHostResponse>,SdkBuilder<CreateHostResponse.Builder,CreateHostResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateHostResponse
public static interface CreateHostResponse.Builder extends CodeConnectionsResponse.Builder, SdkPojo, CopyableBuilder<CreateHostResponse.Builder,CreateHostResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateHostResponse.BuilderhostArn(String hostArn)The Amazon Resource Name (ARN) of the host to be created.CreateHostResponse.Buildertags(Collection<Tag> tags)Tags for the created host.CreateHostResponse.Buildertags(Consumer<Tag.Builder>... tags)Tags for the created host.CreateHostResponse.Buildertags(Tag... tags)Tags for the created host.-
Methods inherited from interface software.amazon.awssdk.services.codeconnections.model.CodeConnectionsResponse.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 Detail
-
hostArn
CreateHostResponse.Builder hostArn(String 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
CreateHostResponse.Builder tags(Collection<Tag> 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
CreateHostResponse.Builder tags(Tag... 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
CreateHostResponse.Builder tags(Consumer<Tag.Builder>... tags)
Tags for the created host.
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)
-
-