Package com.oracle.bmc.database.model
Class UpdateAutonomousDatabaseWalletDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.UpdateAutonomousDatabaseWalletDetails.Builder
-
- Enclosing class:
- UpdateAutonomousDatabaseWalletDetails
public static class UpdateAutonomousDatabaseWalletDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateAutonomousDatabaseWalletDetails
build()
UpdateAutonomousDatabaseWalletDetails.Builder
copy(UpdateAutonomousDatabaseWalletDetails model)
UpdateAutonomousDatabaseWalletDetails.Builder
gracePeriod(Integer gracePeriod)
The number of hours that the old wallet can be used after it has been rotated.UpdateAutonomousDatabaseWalletDetails.Builder
shouldRotate(Boolean shouldRotate)
Indicates whether to rotate the wallet or not.
-
-
-
Method Detail
-
shouldRotate
public UpdateAutonomousDatabaseWalletDetails.Builder shouldRotate(Boolean shouldRotate)
Indicates whether to rotate the wallet or not.If false, the wallet will not be rotated. The default is false.
- Parameters:
shouldRotate
- the value to set- Returns:
- this builder
-
gracePeriod
public UpdateAutonomousDatabaseWalletDetails.Builder gracePeriod(Integer gracePeriod)
The number of hours that the old wallet can be used after it has been rotated.The old wallet will no longer be valid after the number of hours in the wallet rotation grace period has passed. During the grace period, both the old wallet and the current wallet can be used.
- Parameters:
gracePeriod
- the value to set- Returns:
- this builder
-
build
public UpdateAutonomousDatabaseWalletDetails build()
-
copy
public UpdateAutonomousDatabaseWalletDetails.Builder copy(UpdateAutonomousDatabaseWalletDetails model)
-
-