@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAccessControlConfigurationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateAccessControlConfigurationRequest() |
Modifier and Type | Method and Description |
---|---|
CreateAccessControlConfigurationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<Principal> |
getAccessControlList()
Information on principals (users and/or groups) and which documents they should have access to.
|
String |
getClientToken()
A token that you provide to identify the request to create an access control configuration.
|
String |
getDescription()
A description for 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 |
getIndexId()
The identifier of the index to create an access control configuration for your documents.
|
String |
getName()
A 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 |
setClientToken(String clientToken)
A token that you provide to identify the request to create an access control configuration.
|
void |
setDescription(String description)
A description for 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 |
setIndexId(String indexId)
The identifier of the index to create an access control configuration for your documents.
|
void |
setName(String name)
A name for the access control configuration.
|
String |
toString()
Returns a string representation of this object.
|
CreateAccessControlConfigurationRequest |
withAccessControlList(Collection<Principal> accessControlList)
Information on principals (users and/or groups) and which documents they should have access to.
|
CreateAccessControlConfigurationRequest |
withAccessControlList(Principal... accessControlList)
Information on principals (users and/or groups) and which documents they should have access to.
|
CreateAccessControlConfigurationRequest |
withClientToken(String clientToken)
A token that you provide to identify the request to create an access control configuration.
|
CreateAccessControlConfigurationRequest |
withDescription(String description)
A description for the access control configuration.
|
CreateAccessControlConfigurationRequest |
withHierarchicalAccessControlList(Collection<HierarchicalPrincipal> hierarchicalAccessControlList)
The list of principal lists that
define the hierarchy for which documents users should have access to.
|
CreateAccessControlConfigurationRequest |
withHierarchicalAccessControlList(HierarchicalPrincipal... hierarchicalAccessControlList)
The list of principal lists that
define the hierarchy for which documents users should have access to.
|
CreateAccessControlConfigurationRequest |
withIndexId(String indexId)
The identifier of the index to create an access control configuration for your documents.
|
CreateAccessControlConfigurationRequest |
withName(String name)
A name for the access control configuration.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public CreateAccessControlConfigurationRequest()
public void setIndexId(String indexId)
The identifier of the index to create an access control configuration for your documents.
indexId
- The identifier of the index to create an access control configuration for your documents.public String getIndexId()
The identifier of the index to create an access control configuration for your documents.
public CreateAccessControlConfigurationRequest withIndexId(String indexId)
The identifier of the index to create an access control configuration for your documents.
indexId
- The identifier of the index to create an access control configuration for your documents.public void setName(String name)
A name for the access control configuration.
name
- A name for the access control configuration.public String getName()
A name for the access control configuration.
public CreateAccessControlConfigurationRequest withName(String name)
A name for the access control configuration.
name
- A name for the access control configuration.public void setDescription(String description)
A description for the access control configuration.
description
- A description for the access control configuration.public String getDescription()
A description for the access control configuration.
public CreateAccessControlConfigurationRequest withDescription(String description)
A description for the access control configuration.
description
- A description for 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 CreateAccessControlConfigurationRequest 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 CreateAccessControlConfigurationRequest 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 CreateAccessControlConfigurationRequest 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 CreateAccessControlConfigurationRequest 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 void setClientToken(String clientToken)
A token that you provide to identify the request to create an access control configuration. Multiple calls to the
CreateAccessControlConfiguration
API with the same client token will create only one access control
configuration.
clientToken
- A token that you provide to identify the request to create an access control configuration. Multiple calls
to the CreateAccessControlConfiguration
API with the same client token will create only one
access control configuration.public String getClientToken()
A token that you provide to identify the request to create an access control configuration. Multiple calls to the
CreateAccessControlConfiguration
API with the same client token will create only one access control
configuration.
CreateAccessControlConfiguration
API with the same client token will create
only one access control configuration.public CreateAccessControlConfigurationRequest withClientToken(String clientToken)
A token that you provide to identify the request to create an access control configuration. Multiple calls to the
CreateAccessControlConfiguration
API with the same client token will create only one access control
configuration.
clientToken
- A token that you provide to identify the request to create an access control configuration. Multiple calls
to the CreateAccessControlConfiguration
API with the same client token will create only one
access control configuration.public String toString()
toString
in class Object
Object.toString()
public CreateAccessControlConfigurationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()