Class DocumentIdentifier
- java.lang.Object
-
- com.amazonaws.services.simplesystemsmanagement.model.DocumentIdentifier
-
- All Implemented Interfaces:
Serializable,Cloneable
public class DocumentIdentifier extends Object implements Serializable, Cloneable
Describes the name of an SSM document.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DocumentIdentifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentIdentifierclone()booleanequals(Object obj)StringgetName()The name of the SSM document.StringgetOwner()The AWS user account of the person who created the document.List<String>getPlatformTypes()The operating system platform.inthashCode()voidsetName(String name)The name of the SSM document.voidsetOwner(String owner)The AWS user account of the person who created the document.voidsetPlatformTypes(Collection<String> platformTypes)The operating system platform.StringtoString()Returns a string representation of this object; useful for testing and debugging.DocumentIdentifierwithName(String name)The name of the SSM document.DocumentIdentifierwithOwner(String owner)The AWS user account of the person who created the document.DocumentIdentifierwithPlatformTypes(PlatformType... platformTypes)The operating system platform.DocumentIdentifierwithPlatformTypes(String... platformTypes)The operating system platform.DocumentIdentifierwithPlatformTypes(Collection<String> platformTypes)The operating system platform.
-
-
-
Method Detail
-
setName
public void setName(String name)
The name of the SSM document.
- Parameters:
name- The name of the SSM document.
-
getName
public String getName()
The name of the SSM document.
- Returns:
- The name of the SSM document.
-
withName
public DocumentIdentifier withName(String name)
The name of the SSM document.
- Parameters:
name- The name of the SSM document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setOwner
public void setOwner(String owner)
The AWS user account of the person who created the document.
- Parameters:
owner- The AWS user account of the person who created the document.
-
getOwner
public String getOwner()
The AWS user account of the person who created the document.
- Returns:
- The AWS user account of the person who created the document.
-
withOwner
public DocumentIdentifier withOwner(String owner)
The AWS user account of the person who created the document.
- Parameters:
owner- The AWS user account of the person who created the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getPlatformTypes
public List<String> getPlatformTypes()
The operating system platform.
- Returns:
- The operating system platform.
- See Also:
PlatformType
-
setPlatformTypes
public void setPlatformTypes(Collection<String> platformTypes)
The operating system platform.
- Parameters:
platformTypes- The operating system platform.- See Also:
PlatformType
-
withPlatformTypes
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)orwithPlatformTypes(java.util.Collection)if you want to override the existing values.- Parameters:
platformTypes- The operating system platform.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PlatformType
-
withPlatformTypes
public DocumentIdentifier withPlatformTypes(Collection<String> platformTypes)
The operating system platform.
- Parameters:
platformTypes- The operating system platform.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PlatformType
-
withPlatformTypes
public DocumentIdentifier withPlatformTypes(PlatformType... platformTypes)
The operating system platform.
- Parameters:
platformTypes- The operating system platform.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PlatformType
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DocumentIdentifier clone()
-
-