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