Interface CreateDocumentResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateDocumentResponse.Builder,CreateDocumentResponse>
,SdkBuilder<CreateDocumentResponse.Builder,CreateDocumentResponse>
,SdkPojo
,SdkResponse.Builder
,SsmResponse.Builder
- Enclosing class:
- CreateDocumentResponse
public static interface CreateDocumentResponse.Builder extends SsmResponse.Builder, SdkPojo, CopyableBuilder<CreateDocumentResponse.Builder,CreateDocumentResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateDocumentResponse.Builder
documentDescription(Consumer<DocumentDescription.Builder> documentDescription)
Information about the SSM document.CreateDocumentResponse.Builder
documentDescription(DocumentDescription documentDescription)
Information about the SSM document.-
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 Detail
-
documentDescription
CreateDocumentResponse.Builder documentDescription(DocumentDescription documentDescription)
Information about the SSM document.
- Parameters:
documentDescription
- Information about the SSM document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentDescription
default CreateDocumentResponse.Builder documentDescription(Consumer<DocumentDescription.Builder> documentDescription)
Information about the SSM document.
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:
documentDescription(DocumentDescription)
-
-