Interface CreateTermsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CognitoIdentityProviderResponse.Builder
,CopyableBuilder<CreateTermsResponse.Builder,
,CreateTermsResponse> SdkBuilder<CreateTermsResponse.Builder,
,CreateTermsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateTermsResponse
@Mutable
@NotThreadSafe
public static interface CreateTermsResponse.Builder
extends CognitoIdentityProviderResponse.Builder, SdkPojo, CopyableBuilder<CreateTermsResponse.Builder,CreateTermsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateTermsResponse.Builder
terms
(Consumer<TermsType.Builder> terms) A summary of your terms documents.A summary of your terms documents.Methods inherited from interface software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderResponse.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
terms
A summary of your terms documents. Includes a unique identifier for later changes to the terms documents.
- Parameters:
terms
- A summary of your terms documents. Includes a unique identifier for later changes to the terms documents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
terms
A summary of your terms documents. Includes a unique identifier for later changes to the terms documents.
This is a convenience method that creates an instance of theTermsType.Builder
avoiding the need to create one manually viaTermsType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toterms(TermsType)
.- Parameters:
terms
- a consumer that will call methods onTermsType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-