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 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(PlatformType... platformTypes)
The operating system platform.DocumentIdentifier
withPlatformTypes(String... platformTypes)
The operating system platform.DocumentIdentifier
withPlatformTypes(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DocumentIdentifier clone()
-
-