@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListScriptsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListScriptsResult() |
Modifier and Type | Method and Description |
---|---|
ListScriptsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A token that indicates where to resume retrieving results on the next call to this operation.
|
List<Script> |
getScripts()
A set of properties describing the requested script.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A token that indicates where to resume retrieving results on the next call to this operation.
|
void |
setScripts(Collection<Script> scripts)
A set of properties describing the requested script.
|
String |
toString()
Returns a string representation of this object.
|
ListScriptsResult |
withNextToken(String nextToken)
A token that indicates where to resume retrieving results on the next call to this operation.
|
ListScriptsResult |
withScripts(Collection<Script> scripts)
A set of properties describing the requested script.
|
ListScriptsResult |
withScripts(Script... scripts)
A set of properties describing the requested script.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Script> getScripts()
A set of properties describing the requested script.
public void setScripts(Collection<Script> scripts)
A set of properties describing the requested script.
scripts
- A set of properties describing the requested script.public ListScriptsResult withScripts(Script... scripts)
A set of properties describing the requested script.
NOTE: This method appends the values to the existing list (if any). Use
setScripts(java.util.Collection)
or withScripts(java.util.Collection)
if you want to override
the existing values.
scripts
- A set of properties describing the requested script.public ListScriptsResult withScripts(Collection<Script> scripts)
A set of properties describing the requested script.
scripts
- A set of properties describing the requested script.public void setNextToken(String nextToken)
A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.
nextToken
- A token that indicates where to resume retrieving results on the next call to this operation. If no token
is returned, these results represent the end of the list.public String getNextToken()
A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.
public ListScriptsResult withNextToken(String nextToken)
A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.
nextToken
- A token that indicates where to resume retrieving results on the next call to this operation. If no token
is returned, these results represent the end of the list.public String toString()
toString
in class Object
Object.toString()
public ListScriptsResult clone()