public static interface GetDocumentResponse.Builder extends SsmResponse.Builder, SdkPojo, CopyableBuilder<GetDocumentResponse.Builder,GetDocumentResponse>
Modifier and Type | Method and Description |
---|---|
GetDocumentResponse.Builder |
attachmentsContent(AttachmentContent... attachmentsContent)
A description of the document attachments, including names, locations, sizes, etc.
|
GetDocumentResponse.Builder |
attachmentsContent(Collection<AttachmentContent> attachmentsContent)
A description of the document attachments, including names, locations, sizes, etc.
|
GetDocumentResponse.Builder |
attachmentsContent(Consumer<AttachmentContent.Builder>... attachmentsContent)
A description of the document attachments, including names, locations, sizes, etc.
|
GetDocumentResponse.Builder |
content(String content)
The contents of the Systems Manager document.
|
GetDocumentResponse.Builder |
documentFormat(DocumentFormat documentFormat)
The document format, either JSON or YAML.
|
GetDocumentResponse.Builder |
documentFormat(String documentFormat)
The document format, either JSON or YAML.
|
GetDocumentResponse.Builder |
documentType(DocumentType documentType)
The document type.
|
GetDocumentResponse.Builder |
documentType(String documentType)
The document type.
|
GetDocumentResponse.Builder |
documentVersion(String documentVersion)
The document version.
|
GetDocumentResponse.Builder |
name(String name)
The name of the Systems Manager document.
|
GetDocumentResponse.Builder |
status(DocumentStatus status)
The status of the Systems Manager document, such as
Creating , Active ,
Updating , Failed , and Deleting . |
GetDocumentResponse.Builder |
status(String status)
The status of the Systems Manager document, such as
Creating , Active ,
Updating , Failed , and Deleting . |
GetDocumentResponse.Builder |
statusInformation(String statusInformation)
A message returned by AWS Systems Manager that explains the
Status value. |
GetDocumentResponse.Builder |
versionName(String versionName)
The version of the artifact associated with the document.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetDocumentResponse.Builder name(String name)
The name of the Systems Manager document.
name
- The name of the Systems Manager document.GetDocumentResponse.Builder versionName(String versionName)
The version of the artifact associated with the document. For example, "Release 12, Update 6". This value is unique across all versions of a document, and cannot be changed.
versionName
- The version of the artifact associated with the document. For example, "Release 12, Update 6". This
value is unique across all versions of a document, and cannot be changed.GetDocumentResponse.Builder documentVersion(String documentVersion)
The document version.
documentVersion
- The document version.GetDocumentResponse.Builder status(String status)
The status of the Systems Manager document, such as Creating
, Active
,
Updating
, Failed
, and Deleting
.
status
- The status of the Systems Manager document, such as Creating
, Active
,
Updating
, Failed
, and Deleting
.DocumentStatus
,
DocumentStatus
GetDocumentResponse.Builder status(DocumentStatus status)
The status of the Systems Manager document, such as Creating
, Active
,
Updating
, Failed
, and Deleting
.
status
- The status of the Systems Manager document, such as Creating
, Active
,
Updating
, Failed
, and Deleting
.DocumentStatus
,
DocumentStatus
GetDocumentResponse.Builder statusInformation(String statusInformation)
A message returned by AWS Systems Manager that explains the Status
value. For example, a
Failed
status might be explained by the StatusInformation
message,
"The specified S3 bucket does not exist. Verify that the URL of the S3 bucket is correct."
statusInformation
- A message returned by AWS Systems Manager that explains the Status
value. For example, a
Failed
status might be explained by the StatusInformation
message,
"The specified S3 bucket does not exist. Verify that the URL of the S3 bucket is correct."GetDocumentResponse.Builder content(String content)
The contents of the Systems Manager document.
content
- The contents of the Systems Manager document.GetDocumentResponse.Builder documentType(String documentType)
The document type.
documentType
- The document type.DocumentType
,
DocumentType
GetDocumentResponse.Builder documentType(DocumentType documentType)
The document type.
documentType
- The document type.DocumentType
,
DocumentType
GetDocumentResponse.Builder documentFormat(String documentFormat)
The document format, either JSON or YAML.
documentFormat
- The document format, either JSON or YAML.DocumentFormat
,
DocumentFormat
GetDocumentResponse.Builder documentFormat(DocumentFormat documentFormat)
The document format, either JSON or YAML.
documentFormat
- The document format, either JSON or YAML.DocumentFormat
,
DocumentFormat
GetDocumentResponse.Builder attachmentsContent(Collection<AttachmentContent> attachmentsContent)
A description of the document attachments, including names, locations, sizes, etc.
attachmentsContent
- A description of the document attachments, including names, locations, sizes, etc.GetDocumentResponse.Builder attachmentsContent(AttachmentContent... attachmentsContent)
A description of the document attachments, including names, locations, sizes, etc.
attachmentsContent
- A description of the document attachments, including names, locations, sizes, etc.GetDocumentResponse.Builder attachmentsContent(Consumer<AttachmentContent.Builder>... attachmentsContent)
A description of the document attachments, including names, locations, sizes, etc.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #attachmentsContent(List)
.attachmentsContent
- a consumer that will call methods on List.Builder
#attachmentsContent(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.