Class SetIdBrokerMappingsRequest
- java.lang.Object
-
- com.cloudera.cdp.environments.model.SetIdBrokerMappingsRequest
-
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2023-09-27T13:27:53.061-07:00") public class SetIdBrokerMappingsRequest extends Object
Request object for setting ID Broker mappings for an environment. Overwrites all existing mappings.
-
-
Constructor Summary
Constructors Constructor Description SetIdBrokerMappingsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object o)
String
getBaselineRole()
Deprecated.String
getDataAccessRole()
Getter for dataAccessRole.String
getEnvironmentName()
Getter for environmentName.List<IdBrokerMappingRequest>
getMappings()
Getter for mappings.String
getRangerAuditRole()
Getter for rangerAuditRole.String
getRangerCloudAccessAuthorizerRole()
Getter for rangerCloudAccessAuthorizerRole.Boolean
getSetEmptyMappings()
Getter for setEmptyMappings.int
hashCode()
void
setBaselineRole(String baselineRole)
Deprecated.void
setDataAccessRole(String dataAccessRole)
Setter for dataAccessRole.void
setEnvironmentName(String environmentName)
Setter for environmentName.void
setMappings(List<IdBrokerMappingRequest> mappings)
Setter for mappings.void
setRangerAuditRole(String rangerAuditRole)
Setter for rangerAuditRole.void
setRangerCloudAccessAuthorizerRole(String rangerCloudAccessAuthorizerRole)
Setter for rangerCloudAccessAuthorizerRole.void
setSetEmptyMappings(Boolean setEmptyMappings)
Setter for setEmptyMappings.String
toString()
-
-
-
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.
-
-