@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPoliciesGrantingServiceAccessEntry extends Object implements Serializable, Cloneable
Contains details about the permissions policies that are attached to the specified identity (user, group, or role).
This data type is used as a response element in the ListPoliciesGrantingServiceAccess operation.
Constructor and Description |
---|
ListPoliciesGrantingServiceAccessEntry() |
Modifier and Type | Method and Description |
---|---|
ListPoliciesGrantingServiceAccessEntry |
clone() |
boolean |
equals(Object obj) |
List<PolicyGrantingServiceAccess> |
getPolicies()
The
PoliciesGrantingServiceAccess object that contains details about the policy. |
String |
getServiceNamespace()
The namespace of the service that was accessed.
|
int |
hashCode() |
void |
setPolicies(Collection<PolicyGrantingServiceAccess> policies)
The
PoliciesGrantingServiceAccess object that contains details about the policy. |
void |
setServiceNamespace(String serviceNamespace)
The namespace of the service that was accessed.
|
String |
toString()
Returns a string representation of this object.
|
ListPoliciesGrantingServiceAccessEntry |
withPolicies(Collection<PolicyGrantingServiceAccess> policies)
The
PoliciesGrantingServiceAccess object that contains details about the policy. |
ListPoliciesGrantingServiceAccessEntry |
withPolicies(PolicyGrantingServiceAccess... policies)
The
PoliciesGrantingServiceAccess object that contains details about the policy. |
ListPoliciesGrantingServiceAccessEntry |
withServiceNamespace(String serviceNamespace)
The namespace of the service that was accessed.
|
public ListPoliciesGrantingServiceAccessEntry()
public void setServiceNamespace(String serviceNamespace)
The namespace of the service that was accessed.
To learn the service namespace of a service, see Actions, resources, and condition keys for Amazon Web Services services in the Service Authorization
Reference. Choose the name of the service to view details for that service. In the first paragraph, find the
service prefix. For example, (service prefix: a4b)
. For more information about service namespaces,
see Amazon Web Services service namespaces in the Amazon Web Services General Reference.
serviceNamespace
- The namespace of the service that was accessed.
To learn the service namespace of a service, see Actions, resources, and condition keys for Amazon Web Services services in the Service
Authorization Reference. Choose the name of the service to view details for that service. In the first
paragraph, find the service prefix. For example, (service prefix: a4b)
. For more information
about service namespaces, see Amazon Web Services service namespaces in the Amazon Web Services General Reference.
public String getServiceNamespace()
The namespace of the service that was accessed.
To learn the service namespace of a service, see Actions, resources, and condition keys for Amazon Web Services services in the Service Authorization
Reference. Choose the name of the service to view details for that service. In the first paragraph, find the
service prefix. For example, (service prefix: a4b)
. For more information about service namespaces,
see Amazon Web Services service namespaces in the Amazon Web Services General Reference.
To learn the service namespace of a service, see Actions, resources, and condition keys for Amazon Web Services services in the Service
Authorization Reference. Choose the name of the service to view details for that service. In the
first paragraph, find the service prefix. For example, (service prefix: a4b)
. For more
information about service namespaces, see Amazon Web Services service namespaces in the Amazon Web Services General Reference.
public ListPoliciesGrantingServiceAccessEntry withServiceNamespace(String serviceNamespace)
The namespace of the service that was accessed.
To learn the service namespace of a service, see Actions, resources, and condition keys for Amazon Web Services services in the Service Authorization
Reference. Choose the name of the service to view details for that service. In the first paragraph, find the
service prefix. For example, (service prefix: a4b)
. For more information about service namespaces,
see Amazon Web Services service namespaces in the Amazon Web Services General Reference.
serviceNamespace
- The namespace of the service that was accessed.
To learn the service namespace of a service, see Actions, resources, and condition keys for Amazon Web Services services in the Service
Authorization Reference. Choose the name of the service to view details for that service. In the first
paragraph, find the service prefix. For example, (service prefix: a4b)
. For more information
about service namespaces, see Amazon Web Services service namespaces in the Amazon Web Services General Reference.
public List<PolicyGrantingServiceAccess> getPolicies()
The PoliciesGrantingServiceAccess
object that contains details about the policy.
PoliciesGrantingServiceAccess
object that contains details about the policy.public void setPolicies(Collection<PolicyGrantingServiceAccess> policies)
The PoliciesGrantingServiceAccess
object that contains details about the policy.
policies
- The PoliciesGrantingServiceAccess
object that contains details about the policy.public ListPoliciesGrantingServiceAccessEntry withPolicies(PolicyGrantingServiceAccess... policies)
The PoliciesGrantingServiceAccess
object that contains details about the policy.
NOTE: This method appends the values to the existing list (if any). Use
setPolicies(java.util.Collection)
or withPolicies(java.util.Collection)
if you want to override
the existing values.
policies
- The PoliciesGrantingServiceAccess
object that contains details about the policy.public ListPoliciesGrantingServiceAccessEntry withPolicies(Collection<PolicyGrantingServiceAccess> policies)
The PoliciesGrantingServiceAccess
object that contains details about the policy.
policies
- The PoliciesGrantingServiceAccess
object that contains details about the policy.public String toString()
toString
in class Object
Object.toString()
public ListPoliciesGrantingServiceAccessEntry clone()