@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListProjectPoliciesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListProjectPoliciesResult() |
Modifier and Type | Method and Description |
---|---|
ListProjectPoliciesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If the response is truncated, Amazon Rekognition returns this token that you can use in the subsequent request to
retrieve the next set of project policies.
|
List<ProjectPolicy> |
getProjectPolicies()
A list of project policies attached to the project.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If the response is truncated, Amazon Rekognition returns this token that you can use in the subsequent request to
retrieve the next set of project policies.
|
void |
setProjectPolicies(Collection<ProjectPolicy> projectPolicies)
A list of project policies attached to the project.
|
String |
toString()
Returns a string representation of this object.
|
ListProjectPoliciesResult |
withNextToken(String nextToken)
If the response is truncated, Amazon Rekognition returns this token that you can use in the subsequent request to
retrieve the next set of project policies.
|
ListProjectPoliciesResult |
withProjectPolicies(Collection<ProjectPolicy> projectPolicies)
A list of project policies attached to the project.
|
ListProjectPoliciesResult |
withProjectPolicies(ProjectPolicy... projectPolicies)
A list of project policies attached to the project.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ProjectPolicy> getProjectPolicies()
A list of project policies attached to the project.
public void setProjectPolicies(Collection<ProjectPolicy> projectPolicies)
A list of project policies attached to the project.
projectPolicies
- A list of project policies attached to the project.public ListProjectPoliciesResult withProjectPolicies(ProjectPolicy... projectPolicies)
A list of project policies attached to the project.
NOTE: This method appends the values to the existing list (if any). Use
setProjectPolicies(java.util.Collection)
or withProjectPolicies(java.util.Collection)
if you
want to override the existing values.
projectPolicies
- A list of project policies attached to the project.public ListProjectPoliciesResult withProjectPolicies(Collection<ProjectPolicy> projectPolicies)
A list of project policies attached to the project.
projectPolicies
- A list of project policies attached to the project.public void setNextToken(String nextToken)
If the response is truncated, Amazon Rekognition returns this token that you can use in the subsequent request to retrieve the next set of project policies.
nextToken
- If the response is truncated, Amazon Rekognition returns this token that you can use in the subsequent
request to retrieve the next set of project policies.public String getNextToken()
If the response is truncated, Amazon Rekognition returns this token that you can use in the subsequent request to retrieve the next set of project policies.
public ListProjectPoliciesResult withNextToken(String nextToken)
If the response is truncated, Amazon Rekognition returns this token that you can use in the subsequent request to retrieve the next set of project policies.
nextToken
- If the response is truncated, Amazon Rekognition returns this token that you can use in the subsequent
request to retrieve the next set of project policies.public String toString()
toString
in class Object
Object.toString()
public ListProjectPoliciesResult clone()