Interface UpdateTermsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CognitoIdentityProviderResponse.Builder,CopyableBuilder<UpdateTermsResponse.Builder,UpdateTermsResponse>,SdkBuilder<UpdateTermsResponse.Builder,UpdateTermsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateTermsResponse
@Mutable @NotThreadSafe public static interface UpdateTermsResponse.Builder extends CognitoIdentityProviderResponse.Builder, SdkPojo, CopyableBuilder<UpdateTermsResponse.Builder,UpdateTermsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UpdateTermsResponse.Builderterms(Consumer<TermsType.Builder> terms)A summary of the updates to your terms documents.UpdateTermsResponse.Builderterms(TermsType terms)A summary of the updates to 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
UpdateTermsResponse.Builder terms(TermsType terms)
A summary of the updates to your terms documents.
- Parameters:
terms- A summary of the updates to your terms documents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
terms
default UpdateTermsResponse.Builder terms(Consumer<TermsType.Builder> terms)
A summary of the updates to your 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)
-
-