Class KeyDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeai.model.KeyDetails.Builder
-
- Enclosing class:
- KeyDetails
public static class KeyDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyDetailsbuild()KeyDetails.Buildercopy(KeyDetails model)KeyDetails.BuilderkeyName(String keyName)The key to renew.KeyDetails.BuildertimeExpiry(Date timeExpiry)The date and time when the key would be expired, if not provided it would be 90 days, in the format defined by RFC 3339.
-
-
-
Method Detail
-
keyName
public KeyDetails.Builder keyName(String keyName)
The key to renew.- Parameters:
keyName- the value to set- Returns:
- this builder
-
timeExpiry
public KeyDetails.Builder timeExpiry(Date timeExpiry)
The date and time when the key would be expired, if not provided it would be 90 days, in the format defined by RFC 3339.- Parameters:
timeExpiry- the value to set- Returns:
- this builder
-
build
public KeyDetails build()
-
copy
public KeyDetails.Builder copy(KeyDetails model)
-
-