@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetApplicationPolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetApplicationPolicyResult() |
Modifier and Type | Method and Description |
---|---|
GetApplicationPolicyResult |
clone() |
boolean |
equals(Object obj) |
List<ApplicationPolicyStatement> |
getStatements()
An array of policy statements applied to the application.
|
int |
hashCode() |
void |
setStatements(Collection<ApplicationPolicyStatement> statements)
An array of policy statements applied to the application.
|
String |
toString()
Returns a string representation of this object.
|
GetApplicationPolicyResult |
withStatements(ApplicationPolicyStatement... statements)
An array of policy statements applied to the application.
|
GetApplicationPolicyResult |
withStatements(Collection<ApplicationPolicyStatement> statements)
An array of policy statements applied to the application.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ApplicationPolicyStatement> getStatements()
An array of policy statements applied to the application.
public void setStatements(Collection<ApplicationPolicyStatement> statements)
An array of policy statements applied to the application.
statements
- An array of policy statements applied to the application.public GetApplicationPolicyResult withStatements(ApplicationPolicyStatement... statements)
An array of policy statements applied to the application.
NOTE: This method appends the values to the existing list (if any). Use
setStatements(java.util.Collection)
or withStatements(java.util.Collection)
if you want to
override the existing values.
statements
- An array of policy statements applied to the application.public GetApplicationPolicyResult withStatements(Collection<ApplicationPolicyStatement> statements)
An array of policy statements applied to the application.
statements
- An array of policy statements applied to the application.public String toString()
toString
in class Object
Object.toString()
public GetApplicationPolicyResult clone()