Interface DocumentIdentifier.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DocumentIdentifier.Builder,
,DocumentIdentifier> SdkBuilder<DocumentIdentifier.Builder,
,DocumentIdentifier> SdkPojo
- Enclosing class:
DocumentIdentifier
-
Method Summary
Modifier and TypeMethodDescriptionThe user in your organization who created the document.createdDate
(Instant createdDate) The date the SSM document was created.displayName
(String displayName) An optional field where you can specify a friendly name for 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.The Amazon Web Services user that created the document.platformTypes
(Collection<PlatformType> platformTypes) The operating system platform.platformTypes
(PlatformType... platformTypes) The operating system platform.platformTypesWithStrings
(String... platformTypes) The operating system platform.platformTypesWithStrings
(Collection<String> platformTypes) The operating system platform.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 status of a document review.reviewStatus
(ReviewStatus reviewStatus) The current status of a document review.schemaVersion
(String schemaVersion) The schema version.tags
(Collection<Tag> tags) The tags, or metadata, that have been applied to the document.tags
(Consumer<Tag.Builder>... tags) The tags, or metadata, that have been applied to the document.The tags, or metadata, that have been applied to the document.targetType
(String targetType) The target type which defines the kinds of resources the document can run on.versionName
(String versionName) An optional field specifying 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
-
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
An optional field where you can specify a friendly name for the SSM document. This value can differ for each version of the document. If you want to update this value, see UpdateDocument.
- Parameters:
displayName
- An optional field where you can specify a friendly name for 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.
-
owner
The Amazon Web Services user that created the document.
- Parameters:
owner
- The Amazon Web Services user that created the 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.
-
platformTypesWithStrings
The operating system platform.
- Parameters:
platformTypes
- The operating system platform.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
platformTypesWithStrings
The operating system platform.
- Parameters:
platformTypes
- The operating system platform.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
platformTypes
The operating system platform.
- Parameters:
platformTypes
- The operating system platform.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
platformTypes
The operating system platform.
- Parameters:
platformTypes
- The operating system platform.- 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.
-
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:
-
schemaVersion
The schema version.
- Parameters:
schemaVersion
- The schema version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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:
-
targetType
The target type which defines the kinds of resources the document can run on. For example,
/AWS::EC2::Instance
. For a list of valid resource types, see Amazon Web Services resource and property types reference in the CloudFormation User Guide.- Parameters:
targetType
- The target type which defines the kinds of resources the document can run on. For example,/AWS::EC2::Instance
. For a list of valid resource types, see Amazon Web Services resource and property types reference in the CloudFormation User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags, or metadata, that have been applied to the document.
- Parameters:
tags
- The tags, or metadata, that have been applied to the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags, or metadata, that have been applied to the document.
- Parameters:
tags
- The tags, or metadata, that have been applied to the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags, or metadata, that have been applied to the document.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- 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:
-
reviewStatus
The current status of a document review.
- Parameters:
reviewStatus
- The current status of a document review.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reviewStatus
The current status of a document review.
- Parameters:
reviewStatus
- The current status of a document review.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
author
The user in your organization who created the document.
- Parameters:
author
- The user in your organization who created the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-