Interface CreateHostResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CodeConnectionsResponse.Builder,- CopyableBuilder<CreateHostResponse.Builder,,- CreateHostResponse> - SdkBuilder<CreateHostResponse.Builder,,- CreateHostResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- CreateHostResponse
@Mutable
@NotThreadSafe
public static interface CreateHostResponse.Builder
extends CodeConnectionsResponse.Builder, SdkPojo, CopyableBuilder<CreateHostResponse.Builder,CreateHostResponse> 
- 
Method SummaryModifier 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.codeconnections.model.CodeConnectionsResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
hostArnThe 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.
 
- 
tagsTags 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.
 
- 
tagsTags 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.
 
- 
tagsTags 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 totags(List<Tag>).- Parameters:
- tags- a consumer that will call methods on- Tag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-