Interface DocumentIdentifier.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DocumentIdentifier.Builder,DocumentIdentifier>,SdkBuilder<DocumentIdentifier.Builder,DocumentIdentifier>,SdkPojo
- Enclosing class:
- DocumentIdentifier
@Mutable @NotThreadSafe public static interface DocumentIdentifier.Builder extends SdkPojo, CopyableBuilder<DocumentIdentifier.Builder,DocumentIdentifier>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DocumentIdentifier.Builderauthor(String author)The user in your organization who created the document.DocumentIdentifier.BuildercreatedDate(Instant createdDate)The date the SSM document was created.DocumentIdentifier.BuilderdisplayName(String displayName)An optional field where you can specify a friendly name for the SSM document.DocumentIdentifier.BuilderdocumentFormat(String documentFormat)The document format, either JSON or YAML.DocumentIdentifier.BuilderdocumentFormat(DocumentFormat documentFormat)The document format, either JSON or YAML.DocumentIdentifier.BuilderdocumentType(String documentType)The document type.DocumentIdentifier.BuilderdocumentType(DocumentType documentType)The document type.DocumentIdentifier.BuilderdocumentVersion(String documentVersion)The document version.DocumentIdentifier.Buildername(String name)The name of the SSM document.DocumentIdentifier.Builderowner(String owner)The Amazon Web Services user that created the document.DocumentIdentifier.BuilderplatformTypes(Collection<PlatformType> platformTypes)The operating system platform.DocumentIdentifier.BuilderplatformTypes(PlatformType... platformTypes)The operating system platform.DocumentIdentifier.BuilderplatformTypesWithStrings(String... platformTypes)The operating system platform.DocumentIdentifier.BuilderplatformTypesWithStrings(Collection<String> platformTypes)The operating system platform.DocumentIdentifier.Builderrequires(Collection<DocumentRequires> requires)A list of SSM documents required by a document.DocumentIdentifier.Builderrequires(Consumer<DocumentRequires.Builder>... requires)A list of SSM documents required by a document.DocumentIdentifier.Builderrequires(DocumentRequires... requires)A list of SSM documents required by a document.DocumentIdentifier.BuilderreviewStatus(String reviewStatus)The current status of a document review.DocumentIdentifier.BuilderreviewStatus(ReviewStatus reviewStatus)The current status of a document review.DocumentIdentifier.BuilderschemaVersion(String schemaVersion)The schema version.DocumentIdentifier.Buildertags(Collection<Tag> tags)The tags, or metadata, that have been applied to the document.DocumentIdentifier.Buildertags(Consumer<Tag.Builder>... tags)The tags, or metadata, that have been applied to the document.DocumentIdentifier.Buildertags(Tag... tags)The tags, or metadata, that have been applied to the document.DocumentIdentifier.BuildertargetType(String targetType)The target type which defines the kinds of resources the document can run on.DocumentIdentifier.BuilderversionName(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 Detail
-
name
DocumentIdentifier.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
DocumentIdentifier.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
DocumentIdentifier.Builder displayName(String 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
DocumentIdentifier.Builder owner(String 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
DocumentIdentifier.Builder versionName(String 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
DocumentIdentifier.Builder platformTypesWithStrings(Collection<String> 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.
-
platformTypesWithStrings
DocumentIdentifier.Builder platformTypesWithStrings(String... 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
DocumentIdentifier.Builder platformTypes(Collection<PlatformType> 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
DocumentIdentifier.Builder platformTypes(PlatformType... 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
DocumentIdentifier.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.
-
documentType
DocumentIdentifier.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
DocumentIdentifier.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
-
schemaVersion
DocumentIdentifier.Builder schemaVersion(String 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
DocumentIdentifier.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
DocumentIdentifier.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
-
targetType
DocumentIdentifier.Builder targetType(String 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
DocumentIdentifier.Builder tags(Collection<Tag> 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
DocumentIdentifier.Builder tags(Tag... 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
DocumentIdentifier.Builder tags(Consumer<Tag.Builder>... tags)
The tags, or metadata, that have been applied to the document.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
requires
DocumentIdentifier.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
DocumentIdentifier.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
DocumentIdentifier.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)
-
reviewStatus
DocumentIdentifier.Builder reviewStatus(String 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,ReviewStatus
-
reviewStatus
DocumentIdentifier.Builder reviewStatus(ReviewStatus 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,ReviewStatus
-
author
DocumentIdentifier.Builder author(String 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.
-
-