Class NamedCredentialProperty.Builder
- java.lang.Object
-
- com.oracle.bmc.managementagent.model.NamedCredentialProperty.Builder
-
- Enclosing class:
- NamedCredentialProperty
public static class NamedCredentialProperty.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NamedCredentialPropertybuild()NamedCredentialProperty.Buildercopy(NamedCredentialProperty model)NamedCredentialProperty.Buildername(String name)Name of the propertyNamedCredentialProperty.Buildervalue(String value)Value of the propertyNamedCredentialProperty.BuildervalueCategory(ValueCategoryType valueCategory)The category of the Named credential property value.
-
-
-
Method Detail
-
name
public NamedCredentialProperty.Builder name(String name)
Name of the property- Parameters:
name- the value to set- Returns:
- this builder
-
value
public NamedCredentialProperty.Builder value(String value)
Value of the property- Parameters:
value- the value to set- Returns:
- this builder
-
valueCategory
public NamedCredentialProperty.Builder valueCategory(ValueCategoryType valueCategory)
The category of the Named credential property value.CLEAR_TEXT indicates the value field contains a clear text value. SECRET_IDENTIFIER indicates the value field contains a vault secret ocid identifier. ADB_IDENTIFIER indicates the value field contains an Autonomous database ocid identifier. ALLOWED_VALUE indicates the value should be selected from the options in the allowedValues field.
- Parameters:
valueCategory- the value to set- Returns:
- this builder
-
build
public NamedCredentialProperty build()
-
copy
public NamedCredentialProperty.Builder copy(NamedCredentialProperty model)
-
-