Java com.amazonaws.auth.policy Statement fields, constructors, methods, implement or subclass

Example usage for Java com.amazonaws.auth.policy Statement fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.amazonaws.auth.policy Statement.

The text is from its open source code.

Constructor

Statement(Effect effect)
Constructs a new access control policy statement with the specified effect.

Method

ListgetActions()
Returns the list of actions to which this policy statement applies.
StringgetId()
Returns the ID for this statement.
ListgetPrincipals()
Returns the principals associated with this policy statement, indicating which AWS accounts are affected by this policy statement.
ListgetResources()
Returns the resources associated with this policy statement.
voidsetActions(Collection actions)
Sets the list of actions to which this policy statement applies.
voidsetConditions(List conditions)
Sets the conditions associated with this policy statement.
voidsetId(String id)
Sets the ID for this statement.
voidsetPrincipals(Collection principals)
Sets the principals associated with this policy statement, indicating which AWS accounts are affected by this policy statement.
voidsetPrincipals(Principal... principals)
Sets the principals associated with this policy statement, indicating which AWS accounts are affected by this policy statement.
voidsetResources(Collection resources)
Sets the resources associated with this policy statement.
StatementwithActions(Action... actions)
Sets the list of actions to which this policy statement applies and returns this updated Statement object so that additional method calls can be chained together.
StatementwithId(String id)
Sets the ID for this statement and returns the updated statement so multiple calls can be chained together.
StatementwithPrincipals(Principal... principals)
Sets the principals associated with this policy statement, and returns this updated Statement object.
StatementwithResources(Resource... resources)
Sets the resources associated with this policy statement and returns this updated Statement object so that additional method calls can be chained together.