public static class RotationConfig.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RotationConfig |
build() |
RotationConfig.Builder |
copy(RotationConfig model) |
RotationConfig.Builder |
isScheduledRotationEnabled(Boolean isScheduledRotationEnabled)
Enables auto rotation, when set to true rotationInterval must be set.
|
RotationConfig.Builder |
rotationInterval(String rotationInterval)
The time interval that indicates the frequency for rotating secret data, as described in
ISO 8601 format.
|
RotationConfig.Builder |
targetSystemDetails(TargetSystemDetails targetSystemDetails) |
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.”
rotationInterval
- the value to setpublic RotationConfig.Builder targetSystemDetails(TargetSystemDetails targetSystemDetails)
public RotationConfig.Builder isScheduledRotationEnabled(Boolean isScheduledRotationEnabled)
Enables auto rotation, when set to true rotationInterval must be set.
isScheduledRotationEnabled
- the value to setpublic RotationConfig build()
public RotationConfig.Builder copy(RotationConfig model)
Copyright © 2016–2024. All rights reserved.