Package com.oracle.bmc.marketplace.model
Class OrchestrationVariable.Builder
- java.lang.Object
-
- com.oracle.bmc.marketplace.model.OrchestrationVariable.Builder
-
- Enclosing class:
- OrchestrationVariable
public static class OrchestrationVariable.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OrchestrationVariablebuild()OrchestrationVariable.Buildercopy(OrchestrationVariable model)OrchestrationVariable.BuilderdataType(OrchestrationVariableTypeEnum dataType)The data type of the variable.OrchestrationVariable.BuilderdefaultValue(String defaultValue)The variable’s default value.OrchestrationVariable.Builderdescription(String description)A description of the variable.OrchestrationVariable.BuilderhintMessage(String hintMessage)A brief textual description that helps to explain the variable.OrchestrationVariable.BuilderisMandatory(Boolean isMandatory)Whether the variable is mandatory.OrchestrationVariable.Buildername(String name)The name of the variable.
-
-
-
Method Detail
-
name
public OrchestrationVariable.Builder name(String name)
The name of the variable.- Parameters:
name- the value to set- Returns:
- this builder
-
defaultValue
public OrchestrationVariable.Builder defaultValue(String defaultValue)
The variable’s default value.- Parameters:
defaultValue- the value to set- Returns:
- this builder
-
description
public OrchestrationVariable.Builder description(String description)
A description of the variable.- Parameters:
description- the value to set- Returns:
- this builder
-
dataType
public OrchestrationVariable.Builder dataType(OrchestrationVariableTypeEnum dataType)
The data type of the variable.- Parameters:
dataType- the value to set- Returns:
- this builder
-
isMandatory
public OrchestrationVariable.Builder isMandatory(Boolean isMandatory)
Whether the variable is mandatory.- Parameters:
isMandatory- the value to set- Returns:
- this builder
-
hintMessage
public OrchestrationVariable.Builder hintMessage(String hintMessage)
A brief textual description that helps to explain the variable.- Parameters:
hintMessage- the value to set- Returns:
- this builder
-
build
public OrchestrationVariable build()
-
copy
public OrchestrationVariable.Builder copy(OrchestrationVariable model)
-
-