Class GuardrailVersion.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeaiinference.model.GuardrailVersion.Builder
-
- Enclosing class:
- GuardrailVersion
public static class GuardrailVersion.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GuardrailVersionbuild()GuardrailVersion.Buildercopy(GuardrailVersion model)GuardrailVersion.Builderdescription(String description)The description of the guardrail version.GuardrailVersion.BuilderguardrailVersion(String guardrailVersion)The guardrail system version string, e.g., “1.0.0”GuardrailVersion.Builderstate(GuardrailVersion.State state)The state of the guardrail version.GuardrailVersion.BuildertimeActivated(Date timeActivated)The activation date of the guardrail version.GuardrailVersion.BuildertimeDeprecated(Date timeDeprecated)The deprecated date of the guardrail version.GuardrailVersion.BuildertimePreviewed(Date timePreviewed)The preview date of the guardrail version.GuardrailVersion.BuildertimeRetired(Date timeRetired)The retired date of the guardrail version.
-
-
-
Method Detail
-
guardrailVersion
public GuardrailVersion.Builder guardrailVersion(String guardrailVersion)
The guardrail system version string, e.g., “1.0.0”- Parameters:
guardrailVersion- the value to set- Returns:
- this builder
-
state
public GuardrailVersion.Builder state(GuardrailVersion.State state)
The state of the guardrail version.- Parameters:
state- the value to set- Returns:
- this builder
-
timePreviewed
public GuardrailVersion.Builder timePreviewed(Date timePreviewed)
The preview date of the guardrail version.- Parameters:
timePreviewed- the value to set- Returns:
- this builder
-
timeActivated
public GuardrailVersion.Builder timeActivated(Date timeActivated)
The activation date of the guardrail version.- Parameters:
timeActivated- the value to set- Returns:
- this builder
-
timeDeprecated
public GuardrailVersion.Builder timeDeprecated(Date timeDeprecated)
The deprecated date of the guardrail version.- Parameters:
timeDeprecated- the value to set- Returns:
- this builder
-
timeRetired
public GuardrailVersion.Builder timeRetired(Date timeRetired)
The retired date of the guardrail version.- Parameters:
timeRetired- the value to set- Returns:
- this builder
-
description
public GuardrailVersion.Builder description(String description)
The description of the guardrail version.- Parameters:
description- the value to set- Returns:
- this builder
-
build
public GuardrailVersion build()
-
copy
public GuardrailVersion.Builder copy(GuardrailVersion model)
-
-