public static interface DocumentIdentifier.Builder extends SdkPojo, CopyableBuilder<DocumentIdentifier.Builder,DocumentIdentifier>
Modifier and Type | Method and Description |
---|---|
DocumentIdentifier.Builder |
documentFormat(DocumentFormat documentFormat)
The document format, either JSON or YAML.
|
DocumentIdentifier.Builder |
documentFormat(String documentFormat)
The document format, either JSON or YAML.
|
DocumentIdentifier.Builder |
documentType(DocumentType documentType)
The document type.
|
DocumentIdentifier.Builder |
documentType(String documentType)
The document type.
|
DocumentIdentifier.Builder |
documentVersion(String documentVersion)
The document version.
|
DocumentIdentifier.Builder |
name(String name)
The name of the Systems Manager document.
|
DocumentIdentifier.Builder |
owner(String owner)
The AWS user account that created the document.
|
DocumentIdentifier.Builder |
platformTypes(Collection<PlatformType> platformTypes)
The operating system platform.
|
DocumentIdentifier.Builder |
platformTypes(PlatformType... platformTypes)
The operating system platform.
|
DocumentIdentifier.Builder |
platformTypesWithStrings(Collection<String> platformTypes)
The operating system platform.
|
DocumentIdentifier.Builder |
platformTypesWithStrings(String... platformTypes)
The operating system platform.
|
DocumentIdentifier.Builder |
schemaVersion(String schemaVersion)
The schema version.
|
DocumentIdentifier.Builder |
tags(Collection<Tag> tags)
The tags, or metadata, that have been applied to the document.
|
DocumentIdentifier.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags, or metadata, that have been applied to the document.
|
DocumentIdentifier.Builder |
tags(Tag... tags)
The tags, or metadata, that have been applied to the document.
|
DocumentIdentifier.Builder |
targetType(String targetType)
The target type which defines the kinds of resources the document can run on.
|
DocumentIdentifier.Builder |
versionName(String versionName)
An optional field specifying the version of the artifact associated with the document.
|
copy
applyMutation, build
DocumentIdentifier.Builder name(String name)
The name of the Systems Manager document.
name
- The name of the Systems Manager document.DocumentIdentifier.Builder owner(String owner)
The AWS user account that created the document.
owner
- The AWS user account that created the document.DocumentIdentifier.Builder versionName(String versionName)
An optional field specifying 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
- An optional field specifying 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.DocumentIdentifier.Builder platformTypesWithStrings(Collection<String> platformTypes)
The operating system platform.
platformTypes
- The operating system platform.DocumentIdentifier.Builder platformTypesWithStrings(String... platformTypes)
The operating system platform.
platformTypes
- The operating system platform.DocumentIdentifier.Builder platformTypes(Collection<PlatformType> platformTypes)
The operating system platform.
platformTypes
- The operating system platform.DocumentIdentifier.Builder platformTypes(PlatformType... platformTypes)
The operating system platform.
platformTypes
- The operating system platform.DocumentIdentifier.Builder documentVersion(String documentVersion)
The document version.
documentVersion
- The document version.DocumentIdentifier.Builder documentType(String documentType)
The document type.
documentType
- The document type.DocumentType
,
DocumentType
DocumentIdentifier.Builder documentType(DocumentType documentType)
The document type.
documentType
- The document type.DocumentType
,
DocumentType
DocumentIdentifier.Builder schemaVersion(String schemaVersion)
The schema version.
schemaVersion
- The schema version.DocumentIdentifier.Builder documentFormat(String documentFormat)
The document format, either JSON or YAML.
documentFormat
- The document format, either JSON or YAML.DocumentFormat
,
DocumentFormat
DocumentIdentifier.Builder documentFormat(DocumentFormat documentFormat)
The document format, either JSON or YAML.
documentFormat
- The document format, either JSON or YAML.DocumentFormat
,
DocumentFormat
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 AWS Resource Types Reference in the AWS CloudFormation User Guide.
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 AWS Resource Types Reference in the AWS CloudFormation User Guide.DocumentIdentifier.Builder tags(Collection<Tag> tags)
The tags, or metadata, that have been applied to the document.
tags
- The tags, or metadata, that have been applied to the document.DocumentIdentifier.Builder tags(Tag... tags)
The tags, or metadata, that have been applied to the document.
tags
- The tags, or metadata, that have been applied to the document.DocumentIdentifier.Builder tags(Consumer<Tag.Builder>... tags)
The tags, or metadata, that have been applied to the document.
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 #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.