Interface GetDocumentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetDocumentRequest.Builder,
,GetDocumentRequest> SdkBuilder<GetDocumentRequest.Builder,
,GetDocumentRequest> SdkPojo
,SdkRequest.Builder
,SsmRequest.Builder
- Enclosing class:
GetDocumentRequest
public static interface GetDocumentRequest.Builder
extends SsmRequest.Builder, SdkPojo, CopyableBuilder<GetDocumentRequest.Builder,GetDocumentRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondocumentFormat
(String documentFormat) Returns the document in the specified format.documentFormat
(DocumentFormat documentFormat) Returns the document in the specified format.documentVersion
(String documentVersion) The document version for which you want information.The name of the SSM document.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.versionName
(String versionName) An optional field specifying the version of the artifact associated with the document.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 SSM document.
- Parameters:
name
- The name of the SSM document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionName
An optional field specifying the version of the artifact associated with the document. For example, 12.6. This value is unique across all versions of a document and can't be changed.
- Parameters:
versionName
- An optional field specifying the version of the artifact associated with the document. For example, 12.6. This value is unique across all versions of a document and can't be changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentVersion
The document version for which you want information.
- Parameters:
documentVersion
- The document version for which you want information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentFormat
Returns the document in the specified format. The document format can be either JSON or YAML. JSON is the default format.
- Parameters:
documentFormat
- Returns the document in the specified format. The document format can be either JSON or YAML. JSON is the default format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
documentFormat
Returns the document in the specified format. The document format can be either JSON or YAML. JSON is the default format.
- Parameters:
documentFormat
- Returns the document in the specified format. The document format can be either JSON or YAML. JSON is the default format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
GetDocumentRequest.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
GetDocumentRequest.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.
-