@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListSharedProjectsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListSharedProjectsResult() |
Modifier and Type | Method and Description |
---|---|
ListSharedProjectsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
During a previous call, the maximum number of items that can be returned is the value specified in
maxResults . |
List<String> |
getProjects()
The list of ARNs for the build projects shared with the current Amazon Web Services account or user.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
During a previous call, the maximum number of items that can be returned is the value specified in
maxResults . |
void |
setProjects(Collection<String> projects)
The list of ARNs for the build projects shared with the current Amazon Web Services account or user.
|
String |
toString()
Returns a string representation of this object.
|
ListSharedProjectsResult |
withNextToken(String nextToken)
During a previous call, the maximum number of items that can be returned is the value specified in
maxResults . |
ListSharedProjectsResult |
withProjects(Collection<String> projects)
The list of ARNs for the build projects shared with the current Amazon Web Services account or user.
|
ListSharedProjectsResult |
withProjects(String... projects)
The list of ARNs for the build projects shared with the current Amazon Web Services account or user.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
During a previous call, the maximum number of items that can be returned is the value specified in
maxResults
. If there more items in the list, then a unique string called a nextToken is
returned. To get the next batch of items in the list, call this operation again, adding the next token to the
call. To get all of the items in the list, keep calling this operation with each subsequent next token that is
returned, until no more next tokens are returned.
nextToken
- During a previous call, the maximum number of items that can be returned is the value specified in
maxResults
. If there more items in the list, then a unique string called a nextToken
is returned. To get the next batch of items in the list, call this operation again, adding the next token
to the call. To get all of the items in the list, keep calling this operation with each subsequent next
token that is returned, until no more next tokens are returned.public String getNextToken()
During a previous call, the maximum number of items that can be returned is the value specified in
maxResults
. If there more items in the list, then a unique string called a nextToken is
returned. To get the next batch of items in the list, call this operation again, adding the next token to the
call. To get all of the items in the list, keep calling this operation with each subsequent next token that is
returned, until no more next tokens are returned.
maxResults
. If there more items in the list, then a unique string called a nextToken
is returned. To get the next batch of items in the list, call this operation again, adding the next token
to the call. To get all of the items in the list, keep calling this operation with each subsequent next
token that is returned, until no more next tokens are returned.public ListSharedProjectsResult withNextToken(String nextToken)
During a previous call, the maximum number of items that can be returned is the value specified in
maxResults
. If there more items in the list, then a unique string called a nextToken is
returned. To get the next batch of items in the list, call this operation again, adding the next token to the
call. To get all of the items in the list, keep calling this operation with each subsequent next token that is
returned, until no more next tokens are returned.
nextToken
- During a previous call, the maximum number of items that can be returned is the value specified in
maxResults
. If there more items in the list, then a unique string called a nextToken
is returned. To get the next batch of items in the list, call this operation again, adding the next token
to the call. To get all of the items in the list, keep calling this operation with each subsequent next
token that is returned, until no more next tokens are returned.public List<String> getProjects()
The list of ARNs for the build projects shared with the current Amazon Web Services account or user.
public void setProjects(Collection<String> projects)
The list of ARNs for the build projects shared with the current Amazon Web Services account or user.
projects
- The list of ARNs for the build projects shared with the current Amazon Web Services account or user.public ListSharedProjectsResult withProjects(String... projects)
The list of ARNs for the build projects shared with the current Amazon Web Services account or user.
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 ARNs for the build projects shared with the current Amazon Web Services account or user.public ListSharedProjectsResult withProjects(Collection<String> projects)
The list of ARNs for the build projects shared with the current Amazon Web Services account or user.
projects
- The list of ARNs for the build projects shared with the current Amazon Web Services account or user.public String toString()
toString
in class Object
Object.toString()
public ListSharedProjectsResult clone()