@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListProjectsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListProjectsResult() |
Modifier and Type | Method and Description |
---|---|
ListProjectsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If there are more than 100 items in the list, only the first 100 items are returned, along with a unique string
called a nextToken.
|
List<String> |
getProjects()
The list of build project names, with each build project name representing a single build project.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If there are more than 100 items in the list, only the first 100 items are returned, along with a unique string
called a nextToken.
|
void |
setProjects(Collection<String> projects)
The list of build project names, with each build project name representing a single build project.
|
String |
toString()
Returns a string representation of this object.
|
ListProjectsResult |
withNextToken(String nextToken)
If there are more than 100 items in the list, only the first 100 items are returned, along with a unique string
called a nextToken.
|
ListProjectsResult |
withProjects(Collection<String> projects)
The list of build project names, with each build project name representing a single build project.
|
ListProjectsResult |
withProjects(String... projects)
The list of build project names, with each build project name representing a single build project.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
If there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a nextToken. To get the next batch of items in the list, call this operation again, adding the next token to the call.
nextToken
- If there are more than 100 items in the list, only the first 100 items are returned, along with a unique
string called a nextToken. To get the next batch of items in the list, call this operation again,
adding the next token to the call.public String getNextToken()
If there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a nextToken. To get the next batch of items in the list, call this operation again, adding the next token to the call.
public ListProjectsResult withNextToken(String nextToken)
If there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a nextToken. To get the next batch of items in the list, call this operation again, adding the next token to the call.
nextToken
- If there are more than 100 items in the list, only the first 100 items are returned, along with a unique
string called a nextToken. To get the next batch of items in the list, call this operation again,
adding the next token to the call.public List<String> getProjects()
The list of build project names, with each build project name representing a single build project.
public void setProjects(Collection<String> projects)
The list of build project names, with each build project name representing a single build project.
projects
- The list of build project names, with each build project name representing a single build project.public ListProjectsResult withProjects(String... projects)
The list of build project names, with each build project name representing a single build project.
NOTE: This method appends the values to the existing list (if any). Use
setProjects(java.util.Collection)
or withProjects(java.util.Collection)
if you want to override
the existing values.
projects
- The list of build project names, with each build project name representing a single build project.public ListProjectsResult withProjects(Collection<String> projects)
The list of build project names, with each build project name representing a single build project.
projects
- The list of build project names, with each build project name representing a single build project.public String toString()
toString
in class Object
Object.toString()
public ListProjectsResult clone()