Class CredentialProperty.Builder
- java.lang.Object
-
- com.oracle.bmc.stackmonitoring.model.CredentialProperty.Builder
-
- Enclosing class:
- CredentialProperty
public static class CredentialProperty.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CredentialPropertybuild()CredentialProperty.Buildercopy(CredentialProperty model)CredentialProperty.Buildername(String name)The name of the credential property, should confirm with names of properties of this credential’s type.CredentialProperty.Buildervalue(String value)The value of the credential property name.
-
-
-
Method Detail
-
name
public CredentialProperty.Builder name(String name)
The name of the credential property, should confirm with names of properties of this credential’s type.Example: For JMXCreds type, credential property name for weblogic user is ‘Username’.
- Parameters:
name- the value to set- Returns:
- this builder
-
value
public CredentialProperty.Builder value(String value)
The value of the credential property name.Example: For JMXCreds type, credential property value for ‘Username’ property is ‘weblogic’.
- Parameters:
value- the value to set- Returns:
- this builder
-
build
public CredentialProperty build()
-
copy
public CredentialProperty.Builder copy(CredentialProperty model)
-
-