@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ActionTypePermissions extends Object implements Serializable, Cloneable, StructuredPojo
Details identifying the users with permissions to use the action type.
Constructor and Description |
---|
ActionTypePermissions() |
Modifier and Type | Method and Description |
---|---|
ActionTypePermissions |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAllowedAccounts()
A list of Amazon Web Services account IDs with access to use the action type in their pipelines.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAllowedAccounts(Collection<String> allowedAccounts)
A list of Amazon Web Services account IDs with access to use the action type in their pipelines.
|
String |
toString()
Returns a string representation of this object.
|
ActionTypePermissions |
withAllowedAccounts(Collection<String> allowedAccounts)
A list of Amazon Web Services account IDs with access to use the action type in their pipelines.
|
ActionTypePermissions |
withAllowedAccounts(String... allowedAccounts)
A list of Amazon Web Services account IDs with access to use the action type in their pipelines.
|
public List<String> getAllowedAccounts()
A list of Amazon Web Services account IDs with access to use the action type in their pipelines.
public void setAllowedAccounts(Collection<String> allowedAccounts)
A list of Amazon Web Services account IDs with access to use the action type in their pipelines.
allowedAccounts
- A list of Amazon Web Services account IDs with access to use the action type in their pipelines.public ActionTypePermissions withAllowedAccounts(String... allowedAccounts)
A list of Amazon Web Services account IDs with access to use the action type in their pipelines.
NOTE: This method appends the values to the existing list (if any). Use
setAllowedAccounts(java.util.Collection)
or withAllowedAccounts(java.util.Collection)
if you
want to override the existing values.
allowedAccounts
- A list of Amazon Web Services account IDs with access to use the action type in their pipelines.public ActionTypePermissions withAllowedAccounts(Collection<String> allowedAccounts)
A list of Amazon Web Services account IDs with access to use the action type in their pipelines.
allowedAccounts
- A list of Amazon Web Services account IDs with access to use the action type in their pipelines.public String toString()
toString
in class Object
Object.toString()
public ActionTypePermissions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.