Interface UpdateDocumentDefaultVersionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateDocumentDefaultVersionResponse.Builder,,UpdateDocumentDefaultVersionResponse> SdkBuilder<UpdateDocumentDefaultVersionResponse.Builder,,UpdateDocumentDefaultVersionResponse> SdkPojo,SdkResponse.Builder,SsmResponse.Builder
- Enclosing class:
UpdateDocumentDefaultVersionResponse
@Mutable
@NotThreadSafe
public static interface UpdateDocumentDefaultVersionResponse.Builder
extends SsmResponse.Builder, SdkPojo, CopyableBuilder<UpdateDocumentDefaultVersionResponse.Builder,UpdateDocumentDefaultVersionResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondescription(Consumer<DocumentDefaultVersionDescription.Builder> description) The description of a custom document that you want to set as the default version.description(DocumentDefaultVersionDescription description) The description of a custom document that you want to set as the default version.Methods 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, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.ssm.model.SsmResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
description
UpdateDocumentDefaultVersionResponse.Builder description(DocumentDefaultVersionDescription description) The description of a custom document that you want to set as the default version.
- Parameters:
description- The description of a custom document that you want to set as the default version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
default UpdateDocumentDefaultVersionResponse.Builder description(Consumer<DocumentDefaultVersionDescription.Builder> description) The description of a custom document that you want to set as the default version.
This is a convenience method that creates an instance of theDocumentDefaultVersionDescription.Builderavoiding the need to create one manually viaDocumentDefaultVersionDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todescription(DocumentDefaultVersionDescription).- Parameters:
description- a consumer that will call methods onDocumentDefaultVersionDescription.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-