public static class UpdateDelegationControlDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
public UpdateDelegationControlDetails.Builder displayName(String displayName)
Name of the Delegation Control. The name does not need to be unique.
displayName
- the value to setpublic UpdateDelegationControlDetails.Builder description(String description)
Description of the Delegation Control.
description
- the value to setpublic UpdateDelegationControlDetails.Builder numApprovalsRequired(Integer numApprovalsRequired)
number of approvals required.
numApprovalsRequired
- the value to setpublic 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.
delegationSubscriptionIds
- the value to setpublic UpdateDelegationControlDetails.Builder isAutoApproveDuringMaintenance(Boolean isAutoApproveDuringMaintenance)
Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance.
isAutoApproveDuringMaintenance
- the value to setpublic UpdateDelegationControlDetails.Builder resourceIds(List<String> resourceIds)
The OCID of the selected resources that this Delegation Control is applicable to.
resourceIds
- the value to setpublic 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.
preApprovedServiceProviderActionNames
- the value to setpublic UpdateDelegationControlDetails.Builder notificationTopicId(String notificationTopicId)
The OCID of the OCI Notification topic to publish messages related to this Delegation Control.
notificationTopicId
- the value to setpublic UpdateDelegationControlDetails.Builder notificationMessageFormat(DelegationControl.NotificationMessageFormat notificationMessageFormat)
The format of the OCI Notification messages for this Delegation Control.
notificationMessageFormat
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic UpdateDelegationControlDetails build()
public UpdateDelegationControlDetails.Builder copy(UpdateDelegationControlDetails model)
Copyright © 2016–2024. All rights reserved.