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.Builderterms(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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaTermsType.builder().When the
Consumercompletes,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:
-