@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssetBundleResourcePermissions extends Object implements Serializable, Cloneable, StructuredPojo
A structure that contains the permissions for the resource that you want to override in an asset bundle import job.
Constructor and Description |
---|
AssetBundleResourcePermissions() |
Modifier and Type | Method and Description |
---|---|
AssetBundleResourcePermissions |
clone() |
boolean |
equals(Object obj) |
List<String> |
getActions()
A list of IAM actions to grant permissions on.
|
List<String> |
getPrincipals()
A list of principals to grant permissions on.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActions(Collection<String> actions)
A list of IAM actions to grant permissions on.
|
void |
setPrincipals(Collection<String> principals)
A list of principals to grant permissions on.
|
String |
toString()
Returns a string representation of this object.
|
AssetBundleResourcePermissions |
withActions(Collection<String> actions)
A list of IAM actions to grant permissions on.
|
AssetBundleResourcePermissions |
withActions(String... actions)
A list of IAM actions to grant permissions on.
|
AssetBundleResourcePermissions |
withPrincipals(Collection<String> principals)
A list of principals to grant permissions on.
|
AssetBundleResourcePermissions |
withPrincipals(String... principals)
A list of principals to grant permissions on.
|
public List<String> getPrincipals()
A list of principals to grant permissions on.
public void setPrincipals(Collection<String> principals)
A list of principals to grant permissions on.
principals
- A list of principals to grant permissions on.public AssetBundleResourcePermissions withPrincipals(String... principals)
A list of principals to grant permissions on.
NOTE: This method appends the values to the existing list (if any). Use
setPrincipals(java.util.Collection)
or withPrincipals(java.util.Collection)
if you want to
override the existing values.
principals
- A list of principals to grant permissions on.public AssetBundleResourcePermissions withPrincipals(Collection<String> principals)
A list of principals to grant permissions on.
principals
- A list of principals to grant permissions on.public List<String> getActions()
A list of IAM actions to grant permissions on.
public void setActions(Collection<String> actions)
A list of IAM actions to grant permissions on.
actions
- A list of IAM actions to grant permissions on.public AssetBundleResourcePermissions withActions(String... actions)
A list of IAM actions to grant permissions on.
NOTE: This method appends the values to the existing list (if any). Use
setActions(java.util.Collection)
or withActions(java.util.Collection)
if you want to override
the existing values.
actions
- A list of IAM actions to grant permissions on.public AssetBundleResourcePermissions withActions(Collection<String> actions)
A list of IAM actions to grant permissions on.
actions
- A list of IAM actions to grant permissions on.public String toString()
toString
in class Object
Object.toString()
public AssetBundleResourcePermissions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.