public class DocumentIdentifier extends Object implements Serializable, Cloneable
Describes the name of an SSM document.
Constructor and Description |
---|
DocumentIdentifier() |
Modifier and Type | Method and Description |
---|---|
DocumentIdentifier |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the SSM document.
|
String |
getOwner()
The AWS user account of the person who created the document.
|
List<String> |
getPlatformTypes()
The operating system platform.
|
int |
hashCode() |
void |
setName(String name)
The name of the SSM document.
|
void |
setOwner(String owner)
The AWS user account of the person who created the document.
|
void |
setPlatformTypes(Collection<String> platformTypes)
The operating system platform.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DocumentIdentifier |
withName(String name)
The name of the SSM document.
|
DocumentIdentifier |
withOwner(String owner)
The AWS user account of the person who 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.
|
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 setOwner(String owner)
The AWS user account of the person who created the document.
owner
- The AWS user account of the person who created the document.public String getOwner()
The AWS user account of the person who created the document.
public DocumentIdentifier withOwner(String owner)
The AWS user account of the person who created the document.
owner
- The AWS user account of the person who 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 String toString()
toString
in class Object
Object.toString()
public DocumentIdentifier clone()
Copyright © 2016. All rights reserved.