@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DocumentIdentifier extends Object implements Serializable, Cloneable, StructuredPojo
Describes the name of a SSM document.
Constructor and Description |
---|
DocumentIdentifier() |
Modifier and Type | Method and Description |
---|---|
DocumentIdentifier |
clone() |
boolean |
equals(Object obj) |
String |
getAuthor()
The user in your organization who created the document.
|
Date |
getCreatedDate()
The date the SSM document was created.
|
String |
getDisplayName()
An optional field where you can specify a friendly name for the SSM document.
|
String |
getDocumentFormat()
The document format, either JSON or YAML.
|
String |
getDocumentType()
The document type.
|
String |
getDocumentVersion()
The document version.
|
String |
getName()
The name of the SSM document.
|
String |
getOwner()
The Amazon Web Services user that created the document.
|
List<String> |
getPlatformTypes()
The operating system platform.
|
List<DocumentRequires> |
getRequires()
A list of SSM documents required by a document.
|
String |
getReviewStatus()
The current status of a document review.
|
String |
getSchemaVersion()
The schema version.
|
List<Tag> |
getTags()
The tags, or metadata, that have been applied to the document.
|
String |
getTargetType()
The target type which defines the kinds of resources the document can run on.
|
String |
getVersionName()
An optional field specifying the version of the artifact associated with the document.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAuthor(String author)
The user in your organization who created the document.
|
void |
setCreatedDate(Date createdDate)
The date the SSM document was created.
|
void |
setDisplayName(String displayName)
An optional field where you can specify a friendly name for the SSM document.
|
void |
setDocumentFormat(DocumentFormat documentFormat)
The document format, either JSON or YAML.
|
void |
setDocumentFormat(String documentFormat)
The document format, either JSON or YAML.
|
void |
setDocumentType(DocumentType documentType)
The document type.
|
void |
setDocumentType(String documentType)
The document type.
|
void |
setDocumentVersion(String documentVersion)
The document version.
|
void |
setName(String name)
The name of the SSM document.
|
void |
setOwner(String owner)
The Amazon Web Services user that created the document.
|
void |
setPlatformTypes(Collection<String> platformTypes)
The operating system platform.
|
void |
setRequires(Collection<DocumentRequires> requires)
A list of SSM documents required by a document.
|
void |
setReviewStatus(ReviewStatus reviewStatus)
The current status of a document review.
|
void |
setReviewStatus(String reviewStatus)
The current status of a document review.
|
void |
setSchemaVersion(String schemaVersion)
The schema version.
|
void |
setTags(Collection<Tag> tags)
The tags, or metadata, that have been applied to the document.
|
void |
setTargetType(String targetType)
The target type which defines the kinds of resources the document can run on.
|
void |
setVersionName(String versionName)
An optional field specifying the version of the artifact associated with the document.
|
String |
toString()
Returns a string representation of this object.
|
DocumentIdentifier |
withAuthor(String author)
The user in your organization who created the document.
|
DocumentIdentifier |
withCreatedDate(Date createdDate)
The date the SSM document was created.
|
DocumentIdentifier |
withDisplayName(String displayName)
An optional field where you can specify a friendly name for the SSM document.
|
DocumentIdentifier |
withDocumentFormat(DocumentFormat documentFormat)
The document format, either JSON or YAML.
|
DocumentIdentifier |
withDocumentFormat(String documentFormat)
The document format, either JSON or YAML.
|
DocumentIdentifier |
withDocumentType(DocumentType documentType)
The document type.
|
DocumentIdentifier |
withDocumentType(String documentType)
The document type.
|
DocumentIdentifier |
withDocumentVersion(String documentVersion)
The document version.
|
DocumentIdentifier |
withName(String name)
The name of the SSM document.
|
DocumentIdentifier |
withOwner(String owner)
The Amazon Web Services user that created the document.
|
DocumentIdentifier |
withPlatformTypes(Collection<String> platformTypes)
The operating system platform.
|
DocumentIdentifier |
withPlatformTypes(PlatformType... platformTypes)
The operating system platform.
|
DocumentIdentifier |
withPlatformTypes(String... platformTypes)
The operating system platform.
|
DocumentIdentifier |
withRequires(Collection<DocumentRequires> requires)
A list of SSM documents required by a document.
|
DocumentIdentifier |
withRequires(DocumentRequires... requires)
A list of SSM documents required by a document.
|
DocumentIdentifier |
withReviewStatus(ReviewStatus reviewStatus)
The current status of a document review.
|
DocumentIdentifier |
withReviewStatus(String reviewStatus)
The current status of a document review.
|
DocumentIdentifier |
withSchemaVersion(String schemaVersion)
The schema version.
|
DocumentIdentifier |
withTags(Collection<Tag> tags)
The tags, or metadata, that have been applied to the document.
|
DocumentIdentifier |
withTags(Tag... tags)
The tags, or metadata, that have been applied to the document.
|
DocumentIdentifier |
withTargetType(String targetType)
The target type which defines the kinds of resources the document can run on.
|
DocumentIdentifier |
withVersionName(String versionName)
An optional field specifying the version of the artifact associated with the document.
|
public void setName(String name)
The name of the SSM document.
name
- The name of the SSM document.public String getName()
The name of the SSM document.
public DocumentIdentifier withName(String name)
The name of the SSM document.
name
- The name of the SSM document.public void setCreatedDate(Date createdDate)
The date the SSM document was created.
createdDate
- The date the SSM document was created.public Date getCreatedDate()
The date the SSM document was created.
public DocumentIdentifier withCreatedDate(Date createdDate)
The date the SSM document was created.
createdDate
- The date the SSM document was created.public void setDisplayName(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.
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.public String getDisplayName()
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.
public DocumentIdentifier withDisplayName(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.
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.public void setOwner(String owner)
The Amazon Web Services user that created the document.
owner
- The Amazon Web Services user that created the document.public String getOwner()
The Amazon Web Services user that created the document.
public DocumentIdentifier withOwner(String owner)
The Amazon Web Services user that created the document.
owner
- The Amazon Web Services user that created the document.public void setVersionName(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.
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.public String getVersionName()
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.
public DocumentIdentifier withVersionName(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.
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.public List<String> getPlatformTypes()
The operating system platform.
PlatformType
public void setPlatformTypes(Collection<String> platformTypes)
The operating system platform.
platformTypes
- The operating system platform.PlatformType
public DocumentIdentifier withPlatformTypes(String... platformTypes)
The operating system platform.
NOTE: This method appends the values to the existing list (if any). Use
setPlatformTypes(java.util.Collection)
or withPlatformTypes(java.util.Collection)
if you want
to override the existing values.
platformTypes
- The operating system platform.PlatformType
public DocumentIdentifier withPlatformTypes(Collection<String> platformTypes)
The operating system platform.
platformTypes
- The operating system platform.PlatformType
public DocumentIdentifier withPlatformTypes(PlatformType... platformTypes)
The operating system platform.
platformTypes
- The operating system platform.PlatformType
public void setDocumentVersion(String documentVersion)
The document version.
documentVersion
- The document version.public String getDocumentVersion()
The document version.
public DocumentIdentifier withDocumentVersion(String documentVersion)
The document version.
documentVersion
- The document version.public void setDocumentType(String documentType)
The document type.
documentType
- The document type.DocumentType
public String getDocumentType()
The document type.
DocumentType
public DocumentIdentifier withDocumentType(String documentType)
The document type.
documentType
- The document type.DocumentType
public void setDocumentType(DocumentType documentType)
The document type.
documentType
- The document type.DocumentType
public DocumentIdentifier withDocumentType(DocumentType documentType)
The document type.
documentType
- The document type.DocumentType
public void setSchemaVersion(String schemaVersion)
The schema version.
schemaVersion
- The schema version.public String getSchemaVersion()
The schema version.
public DocumentIdentifier withSchemaVersion(String schemaVersion)
The schema version.
schemaVersion
- The schema version.public void setDocumentFormat(String documentFormat)
The document format, either JSON or YAML.
documentFormat
- The document format, either JSON or YAML.DocumentFormat
public String getDocumentFormat()
The document format, either JSON or YAML.
DocumentFormat
public DocumentIdentifier withDocumentFormat(String documentFormat)
The document format, either JSON or YAML.
documentFormat
- The document format, either JSON or YAML.DocumentFormat
public void setDocumentFormat(DocumentFormat documentFormat)
The document format, either JSON or YAML.
documentFormat
- The document format, either JSON or YAML.DocumentFormat
public DocumentIdentifier withDocumentFormat(DocumentFormat documentFormat)
The document format, either JSON or YAML.
documentFormat
- The document format, either JSON or YAML.DocumentFormat
public void setTargetType(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.
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.public String getTargetType()
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.
/AWS::EC2::Instance
. For a list of valid resource types, see Amazon Web Services resource and property types reference in the CloudFormation User Guide.public DocumentIdentifier withTargetType(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.
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.public List<Tag> getTags()
The tags, or metadata, that have been applied to the document.
public void setTags(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.public DocumentIdentifier withTags(Tag... tags)
The tags, or metadata, that have been applied to the document.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags, or metadata, that have been applied to the document.public DocumentIdentifier withTags(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.public List<DocumentRequires> getRequires()
A list of SSM documents required by a document. For example, an ApplicationConfiguration
document
requires an ApplicationConfigurationSchema
document.
ApplicationConfiguration
document requires an ApplicationConfigurationSchema
document.public void setRequires(Collection<DocumentRequires> requires)
A list of SSM documents required by a document. For example, an ApplicationConfiguration
document
requires an ApplicationConfigurationSchema
document.
requires
- A list of SSM documents required by a document. For example, an ApplicationConfiguration
document requires an ApplicationConfigurationSchema
document.public DocumentIdentifier withRequires(DocumentRequires... requires)
A list of SSM documents required by a document. For example, an ApplicationConfiguration
document
requires an ApplicationConfigurationSchema
document.
NOTE: This method appends the values to the existing list (if any). Use
setRequires(java.util.Collection)
or withRequires(java.util.Collection)
if you want to override
the existing values.
requires
- A list of SSM documents required by a document. For example, an ApplicationConfiguration
document requires an ApplicationConfigurationSchema
document.public DocumentIdentifier withRequires(Collection<DocumentRequires> requires)
A list of SSM documents required by a document. For example, an ApplicationConfiguration
document
requires an ApplicationConfigurationSchema
document.
requires
- A list of SSM documents required by a document. For example, an ApplicationConfiguration
document requires an ApplicationConfigurationSchema
document.public void setReviewStatus(String reviewStatus)
The current status of a document review.
reviewStatus
- The current status of a document review.ReviewStatus
public String getReviewStatus()
The current status of a document review.
ReviewStatus
public DocumentIdentifier withReviewStatus(String reviewStatus)
The current status of a document review.
reviewStatus
- The current status of a document review.ReviewStatus
public void setReviewStatus(ReviewStatus reviewStatus)
The current status of a document review.
reviewStatus
- The current status of a document review.ReviewStatus
public DocumentIdentifier withReviewStatus(ReviewStatus reviewStatus)
The current status of a document review.
reviewStatus
- The current status of a document review.ReviewStatus
public void setAuthor(String author)
The user in your organization who created the document.
author
- The user in your organization who created the document.public String getAuthor()
The user in your organization who created the document.
public DocumentIdentifier withAuthor(String author)
The user in your organization who created the document.
author
- The user in your organization who created the document.public String toString()
toString
in class Object
Object.toString()
public DocumentIdentifier clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.