Interface UpdateDocumentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateDocumentResponse.Builder,
,UpdateDocumentResponse> SdkBuilder<UpdateDocumentResponse.Builder,
,UpdateDocumentResponse> SdkPojo
,SdkResponse.Builder
,SsmResponse.Builder
- Enclosing class:
UpdateDocumentResponse
public static interface UpdateDocumentResponse.Builder
extends SsmResponse.Builder, SdkPojo, CopyableBuilder<UpdateDocumentResponse.Builder,UpdateDocumentResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateDocumentResponse.Builder
documentDescription
(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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods 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.Builder
avoiding the need to create one manually viaDocumentDescription.builder()
.When the
Consumer
completes,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:
-