Interface DescribeDocumentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeDocumentResponse.Builder,,DescribeDocumentResponse> SdkBuilder<DescribeDocumentResponse.Builder,,DescribeDocumentResponse> SdkPojo,SdkResponse.Builder,SsmResponse.Builder
- Enclosing class:
DescribeDocumentResponse
@Mutable
@NotThreadSafe
public static interface DescribeDocumentResponse.Builder
extends SsmResponse.Builder, SdkPojo, CopyableBuilder<DescribeDocumentResponse.Builder,DescribeDocumentResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DescribeDocumentResponse.Builderdocument(Consumer<DocumentDescription.Builder> document) Information about the SSM document.document(DocumentDescription document) Information about the SSM document.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
-
document
Information about the SSM document.
- Parameters:
document- Information about the SSM document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
document
Information about the SSM document.
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 todocument(DocumentDescription).- Parameters:
document- 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:
-