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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateTermsResponse.Builderterms(Consumer<TermsType.Builder> terms)A summary of your terms documents.CreateTermsResponse.Builderterms(TermsType terms)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 Detail
-
terms
CreateTermsResponse.Builder terms(TermsType 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
default CreateTermsResponse.Builder terms(Consumer<TermsType.Builder> 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:
terms(TermsType)
-
-