* The pagination token to continue to the next page of results. *
*/ private String nextToken; /** ** Details about the resource policy attached to the response plan. *
*/ private java.util.List* The pagination token to continue to the next page of results. *
* * @param nextToken * The pagination token to continue to the next page of results. */ public void setNextToken(String nextToken) { this.nextToken = nextToken; } /** ** The pagination token to continue to the next page of results. *
* * @return The pagination token to continue to the next page of results. */ public String getNextToken() { return this.nextToken; } /** ** The pagination token to continue to the next page of results. *
* * @param nextToken * The pagination token to continue to the next page of results. * @return Returns a reference to this object so that method calls can be chained together. */ public GetResourcePoliciesResult withNextToken(String nextToken) { setNextToken(nextToken); return this; } /** ** Details about the resource policy attached to the response plan. *
* * @return Details about the resource policy attached to the response plan. */ public java.util.List* Details about the resource policy attached to the response plan. *
* * @param resourcePolicies * Details about the resource policy attached to the response plan. */ public void setResourcePolicies(java.util.Collection* Details about the resource policy attached to the response plan. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setResourcePolicies(java.util.Collection)} or {@link #withResourcePolicies(java.util.Collection)} if you * want to override the existing values. *
* * @param resourcePolicies * Details about the resource policy attached to the response plan. * @return Returns a reference to this object so that method calls can be chained together. */ public GetResourcePoliciesResult withResourcePolicies(ResourcePolicy... resourcePolicies) { if (this.resourcePolicies == null) { setResourcePolicies(new java.util.ArrayList* Details about the resource policy attached to the response plan. *
* * @param resourcePolicies * Details about the resource policy attached to the response plan. * @return Returns a reference to this object so that method calls can be chained together. */ public GetResourcePoliciesResult withResourcePolicies(java.util.Collection