Class GoogleCloudSearchCommitterConfig.AclMapping
java.lang.Object
com.norconex.committer.googlecloudsearch.GoogleCloudSearchCommitterConfig.AclMapping
- All Implemented Interfaces:
Serializable
- Enclosing class:
GoogleCloudSearchCommitterConfig
public static class GoogleCloudSearchCommitterConfig.AclMapping
extends Object
implements Serializable
Maps a metadata field to a Google Cloud Search ACL principal.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanMetadata field holding the principal value(s).Type of principal the field value represents.Which ACL list the resolved principal(s) are added to.inthashCode()setFromField(String fromField) Metadata field holding the principal value(s).setPrincipalType(GoogleCloudSearchCommitterConfig.PrincipalType principalType) Type of principal the field value represents.Which ACL list the resolved principal(s) are added to.toString()
-
Constructor Details
-
AclMapping
public AclMapping()
-
-
Method Details
-
getFromField
Metadata field holding the principal value(s). -
getTarget
Which ACL list the resolved principal(s) are added to. -
getPrincipalType
Type of principal the field value represents. -
setFromField
Metadata field holding the principal value(s).- Returns:
this.
-
setTarget
public GoogleCloudSearchCommitterConfig.AclMapping setTarget(GoogleCloudSearchCommitterConfig.AclTarget target) Which ACL list the resolved principal(s) are added to.- Returns:
this.
-
setPrincipalType
public GoogleCloudSearchCommitterConfig.AclMapping setPrincipalType(GoogleCloudSearchCommitterConfig.PrincipalType principalType) Type of principal the field value represents.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-