Class UpdateDelegationControlDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.delegateaccesscontrol.model.UpdateDelegationControlDetails.Builder
-
- Enclosing class:
- UpdateDelegationControlDetails
public static class UpdateDelegationControlDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateDelegationControlDetails
build()
UpdateDelegationControlDetails.Builder
copy(UpdateDelegationControlDetails model)
UpdateDelegationControlDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.UpdateDelegationControlDetails.Builder
delegationSubscriptionIds(List<String> delegationSubscriptionIds)
List of Delegation Subscription OCID that are allowed for this Delegation Control.UpdateDelegationControlDetails.Builder
description(String description)
Description of the Delegation Control.UpdateDelegationControlDetails.Builder
displayName(String displayName)
Name of the Delegation Control.UpdateDelegationControlDetails.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.UpdateDelegationControlDetails.Builder
isAutoApproveDuringMaintenance(Boolean isAutoApproveDuringMaintenance)
Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance.UpdateDelegationControlDetails.Builder
notificationMessageFormat(DelegationControl.NotificationMessageFormat notificationMessageFormat)
The format of the OCI Notification messages for this Delegation Control.UpdateDelegationControlDetails.Builder
notificationTopicId(String notificationTopicId)
The OCID of the OCI Notification topic to publish messages related to this Delegation Control.UpdateDelegationControlDetails.Builder
numApprovalsRequired(Integer numApprovalsRequired)
number of approvals required.UpdateDelegationControlDetails.Builder
preApprovedServiceProviderActionNames(List<String> preApprovedServiceProviderActionNames)
List of pre-approved Service Provider Action names.UpdateDelegationControlDetails.Builder
resourceIds(List<String> resourceIds)
The OCID of the selected resources that this Delegation Control is applicable to.
-
-
-
Method Detail
-
displayName
public UpdateDelegationControlDetails.Builder displayName(String displayName)
Name of the Delegation Control.The name does not need to be unique.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public UpdateDelegationControlDetails.Builder description(String description)
Description of the Delegation Control.- Parameters:
description
- the value to set- Returns:
- this builder
-
numApprovalsRequired
public UpdateDelegationControlDetails.Builder numApprovalsRequired(Integer numApprovalsRequired)
number of approvals required.- Parameters:
numApprovalsRequired
- the value to set- Returns:
- this builder
-
delegationSubscriptionIds
public UpdateDelegationControlDetails.Builder delegationSubscriptionIds(List<String> delegationSubscriptionIds)
List of Delegation Subscription OCID that are allowed for this Delegation Control.The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request.
- Parameters:
delegationSubscriptionIds
- the value to set- Returns:
- this builder
-
isAutoApproveDuringMaintenance
public UpdateDelegationControlDetails.Builder isAutoApproveDuringMaintenance(Boolean isAutoApproveDuringMaintenance)
Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance.- Parameters:
isAutoApproveDuringMaintenance
- the value to set- Returns:
- this builder
-
resourceIds
public UpdateDelegationControlDetails.Builder resourceIds(List<String> resourceIds)
The OCID of the selected resources that this Delegation Control is applicable to.- Parameters:
resourceIds
- the value to set- Returns:
- this builder
-
preApprovedServiceProviderActionNames
public UpdateDelegationControlDetails.Builder preApprovedServiceProviderActionNames(List<String> preApprovedServiceProviderActionNames)
List of pre-approved Service Provider Action names.The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list.
- Parameters:
preApprovedServiceProviderActionNames
- the value to set- Returns:
- this builder
-
notificationTopicId
public UpdateDelegationControlDetails.Builder notificationTopicId(String notificationTopicId)
The OCID of the OCI Notification topic to publish messages related to this Delegation Control.- Parameters:
notificationTopicId
- the value to set- Returns:
- this builder
-
notificationMessageFormat
public UpdateDelegationControlDetails.Builder notificationMessageFormat(DelegationControl.NotificationMessageFormat notificationMessageFormat)
The format of the OCI Notification messages for this Delegation Control.- Parameters:
notificationMessageFormat
- the value to set- Returns:
- this builder
-
freeformTags
public UpdateDelegationControlDetails.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 UpdateDelegationControlDetails.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
-
build
public UpdateDelegationControlDetails build()
-
copy
public UpdateDelegationControlDetails.Builder copy(UpdateDelegationControlDetails model)
-
-