Package com.oracle.bmc.vault.model
Class RotationConfig.Builder
- java.lang.Object
-
- com.oracle.bmc.vault.model.RotationConfig.Builder
-
- Enclosing class:
- RotationConfig
public static class RotationConfig.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RotationConfigbuild()RotationConfig.Buildercopy(RotationConfig model)RotationConfig.BuilderisScheduledRotationEnabled(Boolean isScheduledRotationEnabled)Enables auto rotation, when set to true rotationInterval must be set.RotationConfig.BuilderrotationInterval(String rotationInterval)The time interval that indicates the frequency for rotating secret data, as described in ISO 8601 format.RotationConfig.BuildertargetSystemDetails(TargetSystemDetails targetSystemDetails)
-
-
-
Method Detail
-
rotationInterval
public RotationConfig.Builder rotationInterval(String rotationInterval)
The time interval that indicates the frequency for rotating secret data, as described in ISO 8601 format.The minimum value is 1 day and maximum value is 360 days. For example, if you want to set the time interval for rotating a secret data as 30 days, the duration is expressed as “P30D.”
- Parameters:
rotationInterval- the value to set- Returns:
- this builder
-
targetSystemDetails
public RotationConfig.Builder targetSystemDetails(TargetSystemDetails targetSystemDetails)
-
isScheduledRotationEnabled
public RotationConfig.Builder isScheduledRotationEnabled(Boolean isScheduledRotationEnabled)
Enables auto rotation, when set to true rotationInterval must be set.- Parameters:
isScheduledRotationEnabled- the value to set- Returns:
- this builder
-
build
public RotationConfig build()
-
copy
public RotationConfig.Builder copy(RotationConfig model)
-
-