public static class CreateNamedCredentialDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public CreateNamedCredentialDetails.Builder name(String name)
The name of the named credential. Valid characters are uppercase or lowercase letters, numbers, and “_”. The name of the named credential cannot be modified. It must be unique in the compartment and must begin with an alphabetic character.
name
- the value to setpublic CreateNamedCredentialDetails.Builder description(String description)
The information specified by the user about the named credential.
description
- the value to setpublic CreateNamedCredentialDetails.Builder scope(NamedCredentialScope scope)
The scope of the named credential.
scope
- the value to setpublic CreateNamedCredentialDetails.Builder type(ResourceType type)
The type of resource associated with the named credential.
type
- the value to setpublic CreateNamedCredentialDetails.Builder content(NamedCredentialContent content)
public CreateNamedCredentialDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment in which the named credential resides.
compartmentId
- the value to setpublic CreateNamedCredentialDetails.Builder associatedResource(String associatedResource)
The OCID of the resource that is associated to the named credential.
associatedResource
- the value to setpublic CreateNamedCredentialDetails.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 CreateNamedCredentialDetails.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 CreateNamedCredentialDetails build()
public CreateNamedCredentialDetails.Builder copy(CreateNamedCredentialDetails model)
Copyright © 2016–2024. All rights reserved.