@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeAccessControlConfigurationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeAccessControlConfigurationResult() |
Modifier and Type | Method and Description |
---|---|
DescribeAccessControlConfigurationResult |
clone() |
boolean |
equals(Object obj) |
List<Principal> |
getAccessControlList()
Information on principals (users and/or groups) and which documents they should have access to.
|
String |
getDescription()
The description for the access control configuration.
|
String |
getErrorMessage()
The error message containing details if there are issues processing the access control configuration.
|
List<HierarchicalPrincipal> |
getHierarchicalAccessControlList()
The list of principal lists that
define the hierarchy for which documents users should have access to.
|
String |
getName()
The name for the access control configuration.
|
int |
hashCode() |
void |
setAccessControlList(Collection<Principal> accessControlList)
Information on principals (users and/or groups) and which documents they should have access to.
|
void |
setDescription(String description)
The description for the access control configuration.
|
void |
setErrorMessage(String errorMessage)
The error message containing details if there are issues processing the access control configuration.
|
void |
setHierarchicalAccessControlList(Collection<HierarchicalPrincipal> hierarchicalAccessControlList)
The list of principal lists that
define the hierarchy for which documents users should have access to.
|
void |
setName(String name)
The name for the access control configuration.
|
String |
toString()
Returns a string representation of this object.
|
DescribeAccessControlConfigurationResult |
withAccessControlList(Collection<Principal> accessControlList)
Information on principals (users and/or groups) and which documents they should have access to.
|
DescribeAccessControlConfigurationResult |
withAccessControlList(Principal... accessControlList)
Information on principals (users and/or groups) and which documents they should have access to.
|
DescribeAccessControlConfigurationResult |
withDescription(String description)
The description for the access control configuration.
|
DescribeAccessControlConfigurationResult |
withErrorMessage(String errorMessage)
The error message containing details if there are issues processing the access control configuration.
|
DescribeAccessControlConfigurationResult |
withHierarchicalAccessControlList(Collection<HierarchicalPrincipal> hierarchicalAccessControlList)
The list of principal lists that
define the hierarchy for which documents users should have access to.
|
DescribeAccessControlConfigurationResult |
withHierarchicalAccessControlList(HierarchicalPrincipal... hierarchicalAccessControlList)
The list of principal lists that
define the hierarchy for which documents users should have access to.
|
DescribeAccessControlConfigurationResult |
withName(String name)
The name for the access control configuration.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public DescribeAccessControlConfigurationResult()
public void setName(String name)
The name for the access control configuration.
name
- The name for the access control configuration.public String getName()
The name for the access control configuration.
public DescribeAccessControlConfigurationResult withName(String name)
The name for the access control configuration.
name
- The name for the access control configuration.public void setDescription(String description)
The description for the access control configuration.
description
- The description for the access control configuration.public String getDescription()
The description for the access control configuration.
public DescribeAccessControlConfigurationResult withDescription(String description)
The description for the access control configuration.
description
- The description for the access control configuration.public void setErrorMessage(String errorMessage)
The error message containing details if there are issues processing the access control configuration.
errorMessage
- The error message containing details if there are issues processing the access control configuration.public String getErrorMessage()
The error message containing details if there are issues processing the access control configuration.
public DescribeAccessControlConfigurationResult withErrorMessage(String errorMessage)
The error message containing details if there are issues processing the access control configuration.
errorMessage
- The error message containing details if there are issues processing the access control configuration.public List<Principal> getAccessControlList()
Information on principals (users and/or groups) and which documents they should have access to. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents.
public void setAccessControlList(Collection<Principal> accessControlList)
Information on principals (users and/or groups) and which documents they should have access to. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents.
accessControlList
- Information on principals (users and/or groups) and which documents they should have access to. This is
useful for user context filtering, where search results are filtered based on the user or their group
access to documents.public DescribeAccessControlConfigurationResult withAccessControlList(Principal... accessControlList)
Information on principals (users and/or groups) and which documents they should have access to. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents.
NOTE: This method appends the values to the existing list (if any). Use
setAccessControlList(java.util.Collection)
or withAccessControlList(java.util.Collection)
if
you want to override the existing values.
accessControlList
- Information on principals (users and/or groups) and which documents they should have access to. This is
useful for user context filtering, where search results are filtered based on the user or their group
access to documents.public DescribeAccessControlConfigurationResult withAccessControlList(Collection<Principal> accessControlList)
Information on principals (users and/or groups) and which documents they should have access to. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents.
accessControlList
- Information on principals (users and/or groups) and which documents they should have access to. This is
useful for user context filtering, where search results are filtered based on the user or their group
access to documents.public List<HierarchicalPrincipal> getHierarchicalAccessControlList()
The list of principal lists that define the hierarchy for which documents users should have access to.
public void setHierarchicalAccessControlList(Collection<HierarchicalPrincipal> hierarchicalAccessControlList)
The list of principal lists that define the hierarchy for which documents users should have access to.
hierarchicalAccessControlList
- The list of principal lists
that define the hierarchy for which documents users should have access to.public DescribeAccessControlConfigurationResult withHierarchicalAccessControlList(HierarchicalPrincipal... hierarchicalAccessControlList)
The list of principal lists that define the hierarchy for which documents users should have access to.
NOTE: This method appends the values to the existing list (if any). Use
setHierarchicalAccessControlList(java.util.Collection)
or
withHierarchicalAccessControlList(java.util.Collection)
if you want to override the existing values.
hierarchicalAccessControlList
- The list of principal lists
that define the hierarchy for which documents users should have access to.public DescribeAccessControlConfigurationResult withHierarchicalAccessControlList(Collection<HierarchicalPrincipal> hierarchicalAccessControlList)
The list of principal lists that define the hierarchy for which documents users should have access to.
hierarchicalAccessControlList
- The list of principal lists
that define the hierarchy for which documents users should have access to.public String toString()
toString
in class Object
Object.toString()
public DescribeAccessControlConfigurationResult clone()