Class UpdateNamedCredentialDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.UpdateNamedCredentialDetails.Builder
-
- Enclosing class:
- UpdateNamedCredentialDetails
public static class UpdateNamedCredentialDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
description
public UpdateNamedCredentialDetails.Builder description(String description)
The information specified by the user about the named credential.- Parameters:
description
- the value to set- Returns:
- this builder
-
scope
public UpdateNamedCredentialDetails.Builder scope(NamedCredentialScope scope)
The scope of the named credential.- Parameters:
scope
- the value to set- Returns:
- this builder
-
content
public UpdateNamedCredentialDetails.Builder content(NamedCredentialContent content)
-
associatedResource
public UpdateNamedCredentialDetails.Builder associatedResource(String associatedResource)
The OCID of the resource that is associated to the named credential.- Parameters:
associatedResource
- the value to set- Returns:
- this builder
-
freeformTags
public 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”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public 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”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
build
public UpdateNamedCredentialDetails build()
-
copy
public UpdateNamedCredentialDetails.Builder copy(UpdateNamedCredentialDetails model)
-
-