Interface GetDocumentResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetDocumentResponse.Builder,GetDocumentResponse>,SdkBuilder<GetDocumentResponse.Builder,GetDocumentResponse>,SdkPojo,SdkResponse.Builder,SsmResponse.Builder
- Enclosing class:
- GetDocumentResponse
@Mutable @NotThreadSafe public static interface GetDocumentResponse.Builder extends SsmResponse.Builder, SdkPojo, CopyableBuilder<GetDocumentResponse.Builder,GetDocumentResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetDocumentResponse.BuilderattachmentsContent(Collection<AttachmentContent> attachmentsContent)A description of the document attachments, including names, locations, sizes, and so on.GetDocumentResponse.BuilderattachmentsContent(Consumer<AttachmentContent.Builder>... attachmentsContent)A description of the document attachments, including names, locations, sizes, and so on.GetDocumentResponse.BuilderattachmentsContent(AttachmentContent... attachmentsContent)A description of the document attachments, including names, locations, sizes, and so on.GetDocumentResponse.Buildercontent(String content)The contents of the SSM document.GetDocumentResponse.BuildercreatedDate(Instant createdDate)The date the SSM document was created.GetDocumentResponse.BuilderdisplayName(String displayName)The friendly name of the SSM document.GetDocumentResponse.BuilderdocumentFormat(String documentFormat)The document format, either JSON or YAML.GetDocumentResponse.BuilderdocumentFormat(DocumentFormat documentFormat)The document format, either JSON or YAML.GetDocumentResponse.BuilderdocumentType(String documentType)The document type.GetDocumentResponse.BuilderdocumentType(DocumentType documentType)The document type.GetDocumentResponse.BuilderdocumentVersion(String documentVersion)The document version.GetDocumentResponse.Buildername(String name)The name of the SSM document.GetDocumentResponse.Builderrequires(Collection<DocumentRequires> requires)A list of SSM documents required by a document.GetDocumentResponse.Builderrequires(Consumer<DocumentRequires.Builder>... requires)A list of SSM documents required by a document.GetDocumentResponse.Builderrequires(DocumentRequires... requires)A list of SSM documents required by a document.GetDocumentResponse.BuilderreviewStatus(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.GetDocumentResponse.BuilderreviewStatus(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.GetDocumentResponse.Builderstatus(String status)The status of the SSM document, such asCreating,Active,Updating,Failed, andDeleting.GetDocumentResponse.Builderstatus(DocumentStatus status)The status of the SSM document, such asCreating,Active,Updating,Failed, andDeleting.GetDocumentResponse.BuilderstatusInformation(String statusInformation)A message returned by Amazon Web Services Systems Manager that explains theStatusvalue.GetDocumentResponse.BuilderversionName(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, sdkFieldNameToField, 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
-
name
GetDocumentResponse.Builder name(String 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
GetDocumentResponse.Builder createdDate(Instant 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
GetDocumentResponse.Builder displayName(String 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
GetDocumentResponse.Builder versionName(String 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
GetDocumentResponse.Builder documentVersion(String 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
GetDocumentResponse.Builder status(String 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:
DocumentStatus,DocumentStatus
-
status
GetDocumentResponse.Builder status(DocumentStatus 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:
DocumentStatus,DocumentStatus
-
statusInformation
GetDocumentResponse.Builder statusInformation(String statusInformation)
A message returned by Amazon Web Services Systems Manager that explains the
Statusvalue. For example, aFailedstatus might be explained by theStatusInformationmessage, "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 theStatusvalue. For example, aFailedstatus might be explained by theStatusInformationmessage, "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
GetDocumentResponse.Builder content(String 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
GetDocumentResponse.Builder documentType(String 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,DocumentType
-
documentType
GetDocumentResponse.Builder documentType(DocumentType 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,DocumentType
-
documentFormat
GetDocumentResponse.Builder documentFormat(String 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,DocumentFormat
-
documentFormat
GetDocumentResponse.Builder documentFormat(DocumentFormat 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,DocumentFormat
-
requires
GetDocumentResponse.Builder requires(Collection<DocumentRequires> requires)
A list of SSM documents required by a document. For example, an
ApplicationConfigurationdocument requires anApplicationConfigurationSchemadocument.- Parameters:
requires- A list of SSM documents required by a document. For example, anApplicationConfigurationdocument requires anApplicationConfigurationSchemadocument.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requires
GetDocumentResponse.Builder requires(DocumentRequires... requires)
A list of SSM documents required by a document. For example, an
ApplicationConfigurationdocument requires anApplicationConfigurationSchemadocument.- Parameters:
requires- A list of SSM documents required by a document. For example, anApplicationConfigurationdocument requires anApplicationConfigurationSchemadocument.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requires
GetDocumentResponse.Builder requires(Consumer<DocumentRequires.Builder>... requires)
A list of SSM documents required by a document. For example, an
This is a convenience method that creates an instance of theApplicationConfigurationdocument requires anApplicationConfigurationSchemadocument.DocumentRequires.Builderavoiding the need to create one manually viaDocumentRequires.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#requires(List.) - 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:
#requires(java.util.Collection)
-
attachmentsContent
GetDocumentResponse.Builder attachmentsContent(Collection<AttachmentContent> 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(AttachmentContent... 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.Builderavoiding the need to create one manually viaAttachmentContent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#attachmentsContent(List.) - 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:
#attachmentsContent(java.util.Collection)
-
reviewStatus
GetDocumentResponse.Builder 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.
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,ReviewStatus
-
reviewStatus
GetDocumentResponse.Builder 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.
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,ReviewStatus
-
-