@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceStatementRequest extends Object implements Serializable, Cloneable
Describes a resource statement.
| Constructor and Description | 
|---|
| ResourceStatementRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| ResourceStatementRequest | clone() | 
| boolean | equals(Object obj) | 
| List<String> | getResources()
 The resources. | 
| List<String> | getResourceTypes()
 The resource types. | 
| int | hashCode() | 
| void | setResources(Collection<String> resources)
 The resources. | 
| void | setResourceTypes(Collection<String> resourceTypes)
 The resource types. | 
| String | toString()Returns a string representation of this object. | 
| ResourceStatementRequest | withResources(Collection<String> resources)
 The resources. | 
| ResourceStatementRequest | withResources(String... resources)
 The resources. | 
| ResourceStatementRequest | withResourceTypes(Collection<String> resourceTypes)
 The resource types. | 
| ResourceStatementRequest | withResourceTypes(String... resourceTypes)
 The resource types. | 
public void setResources(Collection<String> resources)
The resources.
resources - The resources.public ResourceStatementRequest withResources(String... resources)
The resources.
 NOTE: This method appends the values to the existing list (if any). Use
 setResources(java.util.Collection) or withResources(java.util.Collection) if you want to
 override the existing values.
 
resources - The resources.public ResourceStatementRequest withResources(Collection<String> resources)
The resources.
resources - The resources.public List<String> getResourceTypes()
The resource types.
public void setResourceTypes(Collection<String> resourceTypes)
The resource types.
resourceTypes - The resource types.public ResourceStatementRequest withResourceTypes(String... resourceTypes)
The resource types.
 NOTE: This method appends the values to the existing list (if any). Use
 setResourceTypes(java.util.Collection) or withResourceTypes(java.util.Collection) if you want
 to override the existing values.
 
resourceTypes - The resource types.public ResourceStatementRequest withResourceTypes(Collection<String> resourceTypes)
The resource types.
resourceTypes - The resource types.public String toString()
toString in class ObjectObject.toString()public ResourceStatementRequest clone()
Copyright © 2021. All rights reserved.