Class SetIdBrokerMappingsRequest


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2022-08-03T22:29:42.201-07:00")
    public class SetIdBrokerMappingsRequest
    extends Object
    Request object for setting ID Broker mappings for an environment. Overwrites all existing mappings.
    • Constructor Detail

      • SetIdBrokerMappingsRequest

        public SetIdBrokerMappingsRequest()
    • Method Detail

      • getEnvironmentName

        public String getEnvironmentName()
        Getter for environmentName. The name or CRN of the environment.
      • setEnvironmentName

        public void setEnvironmentName​(String environmentName)
        Setter for environmentName. The name or CRN of the environment.
      • getDataAccessRole

        public String getDataAccessRole()
        Getter for dataAccessRole. The cloud provider role to which data access services will be mapped (e.g. an ARN in AWS, a Resource ID in Azure).
      • setDataAccessRole

        public void setDataAccessRole​(String dataAccessRole)
        Setter for dataAccessRole. The cloud provider role to which data access services will be mapped (e.g. an ARN in AWS, a Resource ID in Azure).
      • getRangerAuditRole

        public String getRangerAuditRole()
        Getter for rangerAuditRole. The cloud provider role to which services that write to Ranger audit logs will be mapped (e.g. an ARN in AWS, a Resource ID in Azure). Note that some data access services also write to Ranger audit logs; such services will be mapped to the dataAccessRole, not the rangerAuditRole. ``THIS PARAMETER IS REQUIRED.``
      • setRangerAuditRole

        public void setRangerAuditRole​(String rangerAuditRole)
        Setter for rangerAuditRole. The cloud provider role to which services that write to Ranger audit logs will be mapped (e.g. an ARN in AWS, a Resource ID in Azure). Note that some data access services also write to Ranger audit logs; such services will be mapped to the dataAccessRole, not the rangerAuditRole. ``THIS PARAMETER IS REQUIRED.``
      • getRangerCloudAccessAuthorizerRole

        public String getRangerCloudAccessAuthorizerRole()
        Getter for rangerCloudAccessAuthorizerRole. The cloud provider role to which the Ranger RAZ service will be mapped (e.g. an ARN in AWS, a Resource ID in Azure). This is required in RAZ-enabled environments.
      • setRangerCloudAccessAuthorizerRole

        public void setRangerCloudAccessAuthorizerRole​(String rangerCloudAccessAuthorizerRole)
        Setter for rangerCloudAccessAuthorizerRole. The cloud provider role to which the Ranger RAZ service will be mapped (e.g. an ARN in AWS, a Resource ID in Azure). This is required in RAZ-enabled environments.
      • getBaselineRole

        @Deprecated
        public String getBaselineRole()
        Deprecated.
        Getter for baselineRole. Deprecated. Please use rangerAuditRole instead.
      • setBaselineRole

        @Deprecated
        public void setBaselineRole​(String baselineRole)
        Deprecated.
        Setter for baselineRole. Deprecated. Please use rangerAuditRole instead.
      • getMappings

        public List<IdBrokerMappingRequest> getMappings()
        Getter for mappings. ID Broker mappings for individual actors and groups. Does not include mappings for data access services. If omitted or set to an empty list, you must also specify the ``--set-empty-mappings`` option, to confirm that you want to remove any existing individual mappings.
      • setMappings

        public void setMappings​(List<IdBrokerMappingRequest> mappings)
        Setter for mappings. ID Broker mappings for individual actors and groups. Does not include mappings for data access services. If omitted or set to an empty list, you must also specify the ``--set-empty-mappings`` option, to confirm that you want to remove any existing individual mappings.
      • getSetEmptyMappings

        public Boolean getSetEmptyMappings()
        Getter for setEmptyMappings. Whether to install an empty set of individual mappings, deleting any existing mappings. The ``--set-empty-mappings`` option is required if ``--mappings`` is omitted or if its value is an empty list, and disallowed otherwise.
      • setSetEmptyMappings

        public void setSetEmptyMappings​(Boolean setEmptyMappings)
        Setter for setEmptyMappings. Whether to install an empty set of individual mappings, deleting any existing mappings. The ``--set-empty-mappings`` option is required if ``--mappings`` is omitted or if its value is an empty list, and disallowed otherwise.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object