@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DocumentIdentifier extends Object implements Serializable, Cloneable, StructuredPojo
Describes the name of a Systems Manager document.
Constructor and Description |
---|
DocumentIdentifier() |
Modifier and Type | Method and Description |
---|---|
DocumentIdentifier |
clone() |
boolean |
equals(Object obj) |
String |
getDocumentType()
The document type.
|
String |
getDocumentVersion()
The document version.
|
String |
getName()
The name of the Systems Manager document.
|
String |
getOwner()
The AWS user account that created the document.
|
List<String> |
getPlatformTypes()
The operating system platform.
|
String |
getSchemaVersion()
The schema version.
|
List<Tag> |
getTags()
The tags, or metadata, that have been applied to the document.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 Systems Manager document.
|
void |
setOwner(String owner)
The AWS user account that created the document.
|
void |
setPlatformTypes(Collection<String> platformTypes)
The operating system platform.
|
void |
setSchemaVersion(String schemaVersion)
The schema version.
|
void |
setTags(Collection<Tag> tags)
The tags, or metadata, that have been applied to the document.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
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 Systems Manager document.
|
DocumentIdentifier |
withOwner(String owner)
The AWS user account 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 |
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.
|
public void setName(String name)
The name of the Systems Manager document.
name
- The name of the Systems Manager document.public String getName()
The name of the Systems Manager document.
public DocumentIdentifier withName(String name)
The name of the Systems Manager document.
name
- The name of the Systems Manager document.public void setOwner(String owner)
The AWS user account that created the document.
owner
- The AWS user account that created the document.public String getOwner()
The AWS user account that created the document.
public DocumentIdentifier withOwner(String owner)
The AWS user account that created the document.
owner
- The AWS user account that created the document.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 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 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.