Class PrivilegedApiControl.Builder
- java.lang.Object
-
- com.oracle.bmc.apiaccesscontrol.model.PrivilegedApiControl.Builder
-
- Enclosing class:
- PrivilegedApiControl
public static class PrivilegedApiControl.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrivilegedApiControl.Builder
approverGroupIdList(List<String> approverGroupIdList)
List of IAM user group ids who can approve an privilegedApi request associated with a target resource under the governance of this operator control.PrivilegedApiControl
build()
PrivilegedApiControl.Builder
compartmentId(String compartmentId)
The OCID of the compartment.PrivilegedApiControl.Builder
copy(PrivilegedApiControl model)
PrivilegedApiControl.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.PrivilegedApiControl.Builder
description(String description)
Description of privilegedApi control.PrivilegedApiControl.Builder
displayName(String displayName)
Name of the privilegedApi control.PrivilegedApiControl.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.PrivilegedApiControl.Builder
id(String id)
The OCID of the PrivilegedApiControl.PrivilegedApiControl.Builder
lifecycleDetails(String lifecycleDetails)
A message that describes the current state of the PrivilegedApiControl in more detail.PrivilegedApiControl.Builder
lifecycleState(PrivilegedApiControl.LifecycleState lifecycleState)
The current state of the PrivilegedApiControl.PrivilegedApiControl.Builder
notificationTopicId(String notificationTopicId)
The OCID of the OCI Notification topic to publish messages related to this Privileged Api Control.PrivilegedApiControl.Builder
numberOfApprovers(Integer numberOfApprovers)
Number of approvers required to approve an privilegedApi request.PrivilegedApiControl.Builder
privilegedOperationList(List<PrivilegedApiDetails> privilegedOperationList)
List of privileged operations/apis.PrivilegedApiControl.Builder
resources(List<String> resources)
contains Resource detailsPrivilegedApiControl.Builder
resourceType(String resourceType)
resourceType for which the PrivilegedApiControl is applicablePrivilegedApiControl.Builder
state(String state)
The current state of the PrivilegedApiControl.PrivilegedApiControl.Builder
stateDetails(String stateDetails)
A message that describes the current state of the PrivilegedApiControl in more detail.PrivilegedApiControl.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.PrivilegedApiControl.Builder
timeCreated(Date timeCreated)
The date and time the PrivilegedApiControl was created, in the format defined by RFC 3339.PrivilegedApiControl.Builder
timeDeleted(Date timeDeleted)
The date and time the PrivilegedApiControl was marked for delete, in the format defined by RFC 3339.PrivilegedApiControl.Builder
timeUpdated(Date timeUpdated)
The date and time the PrivilegedApiControl was updated, in the format defined by RFC 3339.
-
-
-
Method Detail
-
id
public PrivilegedApiControl.Builder id(String id)
The OCID of the PrivilegedApiControl.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public PrivilegedApiControl.Builder displayName(String displayName)
Name of the privilegedApi control.The name must be unique.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
compartmentId
public PrivilegedApiControl.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
description
public PrivilegedApiControl.Builder description(String description)
Description of privilegedApi control.- Parameters:
description
- the value to set- Returns:
- this builder
-
notificationTopicId
public PrivilegedApiControl.Builder notificationTopicId(String notificationTopicId)
The OCID of the OCI Notification topic to publish messages related to this Privileged Api Control.- Parameters:
notificationTopicId
- the value to set- Returns:
- this builder
-
approverGroupIdList
public PrivilegedApiControl.Builder approverGroupIdList(List<String> approverGroupIdList)
List of IAM user group ids who can approve an privilegedApi request associated with a target resource under the governance of this operator control.- Parameters:
approverGroupIdList
- the value to set- Returns:
- this builder
-
resourceType
public PrivilegedApiControl.Builder resourceType(String resourceType)
resourceType for which the PrivilegedApiControl is applicable- Parameters:
resourceType
- the value to set- Returns:
- this builder
-
resources
public PrivilegedApiControl.Builder resources(List<String> resources)
contains Resource details- Parameters:
resources
- the value to set- Returns:
- this builder
-
privilegedOperationList
public PrivilegedApiControl.Builder privilegedOperationList(List<PrivilegedApiDetails> privilegedOperationList)
List of privileged operations/apis.These operations/apis will be treaated as secured, once enabled by the Privileged API Managment for a resource. Any of these operations, if needs to be executed, needs to be raised as a PrivilegedApi Request which needs to be approved by customers or it can be pre-approved.
- Parameters:
privilegedOperationList
- the value to set- Returns:
- this builder
-
numberOfApprovers
public PrivilegedApiControl.Builder numberOfApprovers(Integer numberOfApprovers)
Number of approvers required to approve an privilegedApi request.- Parameters:
numberOfApprovers
- the value to set- Returns:
- this builder
-
timeCreated
public PrivilegedApiControl.Builder timeCreated(Date timeCreated)
The date and time the PrivilegedApiControl was created, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public PrivilegedApiControl.Builder timeUpdated(Date timeUpdated)
The date and time the PrivilegedApiControl was updated, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
timeDeleted
public PrivilegedApiControl.Builder timeDeleted(Date timeDeleted)
The date and time the PrivilegedApiControl was marked for delete, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeDeleted
- the value to set- Returns:
- this builder
-
state
public PrivilegedApiControl.Builder state(String state)
The current state of the PrivilegedApiControl.- Parameters:
state
- the value to set- Returns:
- this builder
-
stateDetails
public PrivilegedApiControl.Builder stateDetails(String stateDetails)
A message that describes the current state of the PrivilegedApiControl in more detail.For example, can be used to provide actionable information for a resource in the Failed state.
- Parameters:
stateDetails
- the value to set- Returns:
- this builder
-
lifecycleState
public PrivilegedApiControl.Builder lifecycleState(PrivilegedApiControl.LifecycleState lifecycleState)
The current state of the PrivilegedApiControl.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public PrivilegedApiControl.Builder lifecycleDetails(String lifecycleDetails)
A message that describes the current state of the PrivilegedApiControl in more detail.For example, can be used to provide actionable information for a resource in the Failed state.
- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
freeformTags
public PrivilegedApiControl.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public PrivilegedApiControl.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public PrivilegedApiControl.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public PrivilegedApiControl build()
-
copy
public PrivilegedApiControl.Builder copy(PrivilegedApiControl model)
-
-