Interface UpdateDocumentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateDocumentResponse.Builder,,UpdateDocumentResponse> SdkBuilder<UpdateDocumentResponse.Builder,,UpdateDocumentResponse> SdkPojo,SdkResponse.Builder,SsmResponse.Builder
- Enclosing class:
UpdateDocumentResponse
@Mutable
@NotThreadSafe
public static interface UpdateDocumentResponse.Builder
extends SsmResponse.Builder, SdkPojo, CopyableBuilder<UpdateDocumentResponse.Builder,UpdateDocumentResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateDocumentResponse.BuilderdocumentDescription(Consumer<DocumentDescription.Builder> documentDescription) A description of the document that was updated.documentDescription(DocumentDescription documentDescription) A description of the document that was updated.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
-
documentDescription
A description of the document that was updated.
- Parameters:
documentDescription- A description of the document that was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentDescription
default UpdateDocumentResponse.Builder documentDescription(Consumer<DocumentDescription.Builder> documentDescription) A description of the document that was updated.
This is a convenience method that creates an instance of theDocumentDescription.Builderavoiding the need to create one manually viaDocumentDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todocumentDescription(DocumentDescription).- Parameters:
documentDescription- a consumer that will call methods onDocumentDescription.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-