public class GetDocumentResult extends Object implements Serializable, Cloneable
Constructor and Description |
---|
GetDocumentResult() |
Modifier and Type | Method and Description |
---|---|
GetDocumentResult |
clone() |
boolean |
equals(Object obj) |
String |
getContent()
The contents of the configuration document.
|
String |
getName()
The name of the configuration document.
|
int |
hashCode() |
void |
setContent(String content)
The contents of the configuration document.
|
void |
setName(String name)
The name of the configuration document.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetDocumentResult |
withContent(String content)
The contents of the configuration document.
|
GetDocumentResult |
withName(String name)
The name of the configuration document.
|
public String getName()
Constraints:
Length: 3 - 64
Pattern: ^[a-zA-Z0-9_\-.]{3,64}$
public void setName(String name)
Constraints:
Length: 3 - 64
Pattern: ^[a-zA-Z0-9_\-.]{3,64}$
name
- The name of the configuration document.public GetDocumentResult withName(String name)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 3 - 64
Pattern: ^[a-zA-Z0-9_\-.]{3,64}$
name
- The name of the configuration document.public String getContent()
Constraints:
Length: 1 -
public void setContent(String content)
Constraints:
Length: 1 -
content
- The contents of the configuration document.public GetDocumentResult withContent(String content)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
content
- The contents of the configuration document.public String toString()
toString
in class Object
Object.toString()
public GetDocumentResult clone()
Copyright © 2015. All rights reserved.