public static class UpdateNamedCredentialDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UpdateNamedCredentialDetails.Builder |
associatedResource(String associatedResource)
The OCID of the
resource that is associated to the named credential.
|
UpdateNamedCredentialDetails |
build() |
UpdateNamedCredentialDetails.Builder |
content(NamedCredentialContent content) |
UpdateNamedCredentialDetails.Builder |
copy(UpdateNamedCredentialDetails model) |
UpdateNamedCredentialDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
UpdateNamedCredentialDetails.Builder |
description(String description)
The information specified by the user about the named credential.
|
UpdateNamedCredentialDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
UpdateNamedCredentialDetails.Builder |
scope(NamedCredentialScope scope)
The scope of the named credential.
|
public UpdateNamedCredentialDetails.Builder description(String description)
The information specified by the user about the named credential.
description
- the value to setpublic UpdateNamedCredentialDetails.Builder scope(NamedCredentialScope scope)
The scope of the named credential.
scope
- the value to setpublic UpdateNamedCredentialDetails.Builder content(NamedCredentialContent content)
public UpdateNamedCredentialDetails.Builder associatedResource(String associatedResource)
The OCID of the resource that is associated to the named credential.
associatedResource
- the value to setpublic UpdateNamedCredentialDetails.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 UpdateNamedCredentialDetails.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 UpdateNamedCredentialDetails build()
public UpdateNamedCredentialDetails.Builder copy(UpdateNamedCredentialDetails model)
Copyright © 2016–2024. All rights reserved.