public static class CreateDelegationControlDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateDelegationControlDetails |
build() |
CreateDelegationControlDetails.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains this Delegation Control.
|
CreateDelegationControlDetails.Builder |
copy(CreateDelegationControlDetails model) |
CreateDelegationControlDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateDelegationControlDetails.Builder |
delegationSubscriptionIds(List<String> delegationSubscriptionIds)
List of Delegation Subscription OCID that are allowed for this Delegation Control.
|
CreateDelegationControlDetails.Builder |
description(String description)
Description of the Delegation Control.
|
CreateDelegationControlDetails.Builder |
displayName(String displayName)
Name of the Delegation Control.
|
CreateDelegationControlDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
CreateDelegationControlDetails.Builder |
isAutoApproveDuringMaintenance(Boolean isAutoApproveDuringMaintenance)
Set to true to allow all Delegated Resource Access Request to be approved automatically
during maintenance.
|
CreateDelegationControlDetails.Builder |
notificationMessageFormat(DelegationControl.NotificationMessageFormat notificationMessageFormat)
The format of the OCI Notification messages for this Delegation Control.
|
CreateDelegationControlDetails.Builder |
notificationTopicId(String notificationTopicId)
The OCID of the OCI Notification topic to publish messages related to this Delegation
Control.
|
CreateDelegationControlDetails.Builder |
numApprovalsRequired(Integer numApprovalsRequired)
number of approvals required.
|
CreateDelegationControlDetails.Builder |
preApprovedServiceProviderActionNames(List<String> preApprovedServiceProviderActionNames)
List of pre-approved Service Provider Action names.
|
CreateDelegationControlDetails.Builder |
resourceIds(List<String> resourceIds)
The OCID of the selected resources that this Delegation Control is applicable to.
|
CreateDelegationControlDetails.Builder |
resourceType(DelegationControlResourceType resourceType)
Resource type for which the Delegation Control is applicable to.
|
CreateDelegationControlDetails.Builder |
vaultId(String vaultId)
The OCID of the OCI Vault that will store the secrets containing the SSH keys to access
the resource governed by this Delegation Control by Delegate Access Control Service.
|
CreateDelegationControlDetails.Builder |
vaultKeyId(String vaultKeyId)
The OCID of the Master Encryption Key in the OCI Vault specified by vaultId.
|
public CreateDelegationControlDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains this Delegation Control.
compartmentId
- the value to setpublic CreateDelegationControlDetails.Builder displayName(String displayName)
Name of the Delegation Control. The name does not need to be unique.
displayName
- the value to setpublic CreateDelegationControlDetails.Builder description(String description)
Description of the Delegation Control.
description
- the value to setpublic CreateDelegationControlDetails.Builder numApprovalsRequired(Integer numApprovalsRequired)
number of approvals required.
numApprovalsRequired
- the value to setpublic CreateDelegationControlDetails.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 CreateDelegationControlDetails.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 CreateDelegationControlDetails.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 CreateDelegationControlDetails.Builder resourceIds(List<String> resourceIds)
The OCID of the selected resources that this Delegation Control is applicable to.
resourceIds
- the value to setpublic CreateDelegationControlDetails.Builder resourceType(DelegationControlResourceType resourceType)
Resource type for which the Delegation Control is applicable to.
resourceType
- the value to setpublic CreateDelegationControlDetails.Builder notificationTopicId(String notificationTopicId)
The OCID of the OCI Notification topic to publish messages related to this Delegation Control.
notificationTopicId
- the value to setpublic CreateDelegationControlDetails.Builder notificationMessageFormat(DelegationControl.NotificationMessageFormat notificationMessageFormat)
The format of the OCI Notification messages for this Delegation Control.
notificationMessageFormat
- the value to setpublic CreateDelegationControlDetails.Builder vaultId(String vaultId)
The OCID of the OCI Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the OCI Vault.
vaultId
- the value to setpublic CreateDelegationControlDetails.Builder vaultKeyId(String vaultKeyId)
The OCID of the Master Encryption Key in the OCI Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER.
vaultKeyId
- the value to setpublic CreateDelegationControlDetails.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 CreateDelegationControlDetails.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 CreateDelegationControlDetails build()
public CreateDelegationControlDetails.Builder copy(CreateDelegationControlDetails model)
Copyright © 2016–2024. All rights reserved.