Interface GetDocumentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetDocumentResponse.Builder,
,GetDocumentResponse> SdkBuilder<GetDocumentResponse.Builder,
,GetDocumentResponse> SdkPojo
,SdkResponse.Builder
,SsmResponse.Builder
- Enclosing class:
GetDocumentResponse
-
Method Summary
Modifier and TypeMethodDescriptionattachmentsContent
(Collection<AttachmentContent> attachmentsContent) A description of the document attachments, including names, locations, sizes, and so on.attachmentsContent
(Consumer<AttachmentContent.Builder>... attachmentsContent) A description of the document attachments, including names, locations, sizes, and so on.attachmentsContent
(AttachmentContent... attachmentsContent) A description of the document attachments, including names, locations, sizes, and so on.The contents of the SSM document.createdDate
(Instant createdDate) The date the SSM document was created.displayName
(String displayName) The friendly name of the SSM document.documentFormat
(String documentFormat) The document format, either JSON or YAML.documentFormat
(DocumentFormat documentFormat) The document format, either JSON or YAML.documentType
(String documentType) The document type.documentType
(DocumentType documentType) The document type.documentVersion
(String documentVersion) The document version.The name of the SSM document.requires
(Collection<DocumentRequires> requires) A list of SSM documents required by a document.requires
(Consumer<DocumentRequires.Builder>... requires) A list of SSM documents required by a document.requires
(DocumentRequires... requires) A list of SSM documents required by a document.reviewStatus
(String reviewStatus) The current review status of a new custom Systems Manager document (SSM document) created by a member of your organization, or of the latest version of an existing SSM document.reviewStatus
(ReviewStatus reviewStatus) The current review status of a new custom Systems Manager document (SSM document) created by a member of your organization, or of the latest version of an existing SSM document.The status of the SSM document, such asCreating
,Active
,Updating
,Failed
, andDeleting
.status
(DocumentStatus status) The status of the SSM document, such asCreating
,Active
,Updating
,Failed
, andDeleting
.statusInformation
(String statusInformation) A message returned by Amazon Web Services Systems Manager that explains theStatus
value.versionName
(String versionName) The version of the artifact associated with the 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 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.
-
createdDate
The date the SSM document was created.
- Parameters:
createdDate
- The date the SSM document was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
The friendly name of the SSM document. This value can differ for each version of the document. If you want to update this value, see UpdateDocument.
- Parameters:
displayName
- The friendly name of the SSM document. This value can differ for each version of the document. If you want to update this value, see UpdateDocument.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionName
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
- 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.
- Parameters:
documentVersion
- The document version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the SSM document, such as
Creating
,Active
,Updating
,Failed
, andDeleting
.- Parameters:
status
- The status of the SSM document, such asCreating
,Active
,Updating
,Failed
, andDeleting
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the SSM document, such as
Creating
,Active
,Updating
,Failed
, andDeleting
.- Parameters:
status
- The status of the SSM document, such asCreating
,Active
,Updating
,Failed
, andDeleting
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusInformation
A message returned by Amazon Web Services Systems Manager that explains the
Status
value. For example, aFailed
status might be explained by theStatusInformation
message, "The specified S3 bucket doesn't exist. Verify that the URL of the S3 bucket is correct."- Parameters:
statusInformation
- A message returned by Amazon Web Services Systems Manager that explains theStatus
value. For example, aFailed
status might be explained by theStatusInformation
message, "The specified S3 bucket doesn't exist. Verify that the URL of the S3 bucket is correct."- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
The contents of the SSM document.
- Parameters:
content
- The contents of the SSM document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentType
The document type.
- Parameters:
documentType
- The document type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
documentType
The document type.
- Parameters:
documentType
- The document type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
documentFormat
The document format, either JSON or YAML.
- Parameters:
documentFormat
- The document format, either JSON or YAML.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
documentFormat
The document format, either JSON or YAML.
- Parameters:
documentFormat
- The document format, either JSON or YAML.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
requires
A list of SSM documents required by a document. For example, an
ApplicationConfiguration
document requires anApplicationConfigurationSchema
document.- Parameters:
requires
- A list of SSM documents required by a document. For example, anApplicationConfiguration
document requires anApplicationConfigurationSchema
document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requires
A list of SSM documents required by a document. For example, an
ApplicationConfiguration
document requires anApplicationConfigurationSchema
document.- Parameters:
requires
- A list of SSM documents required by a document. For example, anApplicationConfiguration
document requires anApplicationConfigurationSchema
document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requires
A list of SSM documents required by a document. For example, an
This is a convenience method that creates an instance of theApplicationConfiguration
document requires anApplicationConfigurationSchema
document.DocumentRequires.Builder
avoiding the need to create one manually viaDocumentRequires.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torequires(List<DocumentRequires>)
.- Parameters:
requires
- a consumer that will call methods onDocumentRequires.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attachmentsContent
A description of the document attachments, including names, locations, sizes, and so on.
- Parameters:
attachmentsContent
- A description of the document attachments, including names, locations, sizes, and so on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachmentsContent
A description of the document attachments, including names, locations, sizes, and so on.
- Parameters:
attachmentsContent
- A description of the document attachments, including names, locations, sizes, and so on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachmentsContent
GetDocumentResponse.Builder attachmentsContent(Consumer<AttachmentContent.Builder>... attachmentsContent) A description of the document attachments, including names, locations, sizes, and so on.
This is a convenience method that creates an instance of theAttachmentContent.Builder
avoiding the need to create one manually viaAttachmentContent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattachmentsContent(List<AttachmentContent>)
.- Parameters:
attachmentsContent
- a consumer that will call methods onAttachmentContent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reviewStatus
The current review status of a new custom Systems Manager document (SSM document) created by a member of your organization, or of the latest version of an existing SSM document.
Only one version of an SSM document can be in the APPROVED state at a time. When a new version is approved, the status of the previous version changes to REJECTED.
Only one version of an SSM document can be in review, or PENDING, at a time.
- Parameters:
reviewStatus
- The current review status of a new custom Systems Manager document (SSM document) created by a member of your organization, or of the latest version of an existing SSM document.Only one version of an SSM document can be in the APPROVED state at a time. When a new version is approved, the status of the previous version changes to REJECTED.
Only one version of an SSM document can be in review, or PENDING, at a time.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reviewStatus
The current review status of a new custom Systems Manager document (SSM document) created by a member of your organization, or of the latest version of an existing SSM document.
Only one version of an SSM document can be in the APPROVED state at a time. When a new version is approved, the status of the previous version changes to REJECTED.
Only one version of an SSM document can be in review, or PENDING, at a time.
- Parameters:
reviewStatus
- The current review status of a new custom Systems Manager document (SSM document) created by a member of your organization, or of the latest version of an existing SSM document.Only one version of an SSM document can be in the APPROVED state at a time. When a new version is approved, the status of the previous version changes to REJECTED.
Only one version of an SSM document can be in review, or PENDING, at a time.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-