Interface CreateTagOptionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateTagOptionResponse.Builder,
,CreateTagOptionResponse> SdkBuilder<CreateTagOptionResponse.Builder,
,CreateTagOptionResponse> SdkPojo
,SdkResponse.Builder
,ServiceCatalogResponse.Builder
- Enclosing class:
CreateTagOptionResponse
public static interface CreateTagOptionResponse.Builder
extends ServiceCatalogResponse.Builder, SdkPojo, CopyableBuilder<CreateTagOptionResponse.Builder,CreateTagOptionResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateTagOptionResponse.Builder
tagOptionDetail
(Consumer<TagOptionDetail.Builder> tagOptionDetail) Information about the TagOption.tagOptionDetail
(TagOptionDetail tagOptionDetail) Information about the TagOption.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
Methods inherited from interface software.amazon.awssdk.services.servicecatalog.model.ServiceCatalogResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
tagOptionDetail
Information about the TagOption.
- Parameters:
tagOptionDetail
- Information about the TagOption.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagOptionDetail
default CreateTagOptionResponse.Builder tagOptionDetail(Consumer<TagOptionDetail.Builder> tagOptionDetail) Information about the TagOption.
This is a convenience method that creates an instance of theTagOptionDetail.Builder
avoiding the need to create one manually viaTagOptionDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totagOptionDetail(TagOptionDetail)
.- Parameters:
tagOptionDetail
- a consumer that will call methods onTagOptionDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-