Interface UpdateDocumentMetadataRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateDocumentMetadataRequest.Builder,
,UpdateDocumentMetadataRequest> SdkBuilder<UpdateDocumentMetadataRequest.Builder,
,UpdateDocumentMetadataRequest> SdkPojo
,SdkRequest.Builder
,SsmRequest.Builder
- Enclosing class:
UpdateDocumentMetadataRequest
public static interface UpdateDocumentMetadataRequest.Builder
extends SsmRequest.Builder, SdkPojo, CopyableBuilder<UpdateDocumentMetadataRequest.Builder,UpdateDocumentMetadataRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondocumentReviews
(Consumer<DocumentReviews.Builder> documentReviews) The change template review details to update.documentReviews
(DocumentReviews documentReviews) The change template review details to update.documentVersion
(String documentVersion) The version of a change template in which to update approval metadata.The name of the change template for which a version's metadata is to be updated.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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.services.ssm.model.SsmRequest.Builder
build
-
Method Details
-
name
The name of the change template for which a version's metadata is to be updated.
- Parameters:
name
- The name of the change template for which a version's metadata is to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentVersion
The version of a change template in which to update approval metadata.
- Parameters:
documentVersion
- The version of a change template in which to update approval metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentReviews
The change template review details to update.
- Parameters:
documentReviews
- The change template review details to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentReviews
default UpdateDocumentMetadataRequest.Builder documentReviews(Consumer<DocumentReviews.Builder> documentReviews) The change template review details to update.
This is a convenience method that creates an instance of theDocumentReviews.Builder
avoiding the need to create one manually viaDocumentReviews.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todocumentReviews(DocumentReviews)
.- Parameters:
documentReviews
- a consumer that will call methods onDocumentReviews.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateDocumentMetadataRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateDocumentMetadataRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-