Class GetDocumentResult
- java.lang.Object
-
- com.amazonaws.services.simplesystemsmanagement.model.GetDocumentResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class GetDocumentResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetDocumentResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetDocumentResult
clone()
boolean
equals(Object obj)
String
getContent()
The contents of the SSM document.String
getName()
The name of the SSM document.int
hashCode()
void
setContent(String content)
The contents of the SSM document.void
setName(String name)
The name of the SSM document.String
toString()
Returns a string representation of this object; useful for testing and debugging.GetDocumentResult
withContent(String content)
The contents of the SSM document.GetDocumentResult
withName(String name)
The name of the SSM document.
-
-
-
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 GetDocumentResult 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.
-
setContent
public void setContent(String content)
The contents of the SSM document.
- Parameters:
content
- The contents of the SSM document.
-
getContent
public String getContent()
The contents of the SSM document.
- Returns:
- The contents of the SSM document.
-
withContent
public GetDocumentResult withContent(String content)
The contents of the SSM document.
- Parameters:
content
- The contents of the SSM document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 GetDocumentResult clone()
-
-