Class AssuredWorkloadsWorkloadKmsSettings.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.assured_workloads_workload.AssuredWorkloadsWorkloadKmsSettings.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AssuredWorkloadsWorkloadKmsSettings>
- Enclosing interface:
- AssuredWorkloadsWorkloadKmsSettings
@Stability(Stable) public static final class AssuredWorkloadsWorkloadKmsSettings.Builder extends Object implements software.amazon.jsii.Builder<AssuredWorkloadsWorkloadKmsSettings>
A builder forAssuredWorkloadsWorkloadKmsSettings
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssuredWorkloadsWorkloadKmsSettingsbuild()Builds the configured instance.AssuredWorkloadsWorkloadKmsSettings.BuildernextRotationTime(String nextRotationTime)Sets the value ofAssuredWorkloadsWorkloadKmsSettings.getNextRotationTime()AssuredWorkloadsWorkloadKmsSettings.BuilderrotationPeriod(String rotationPeriod)Sets the value ofAssuredWorkloadsWorkloadKmsSettings.getRotationPeriod()
-
-
-
Method Detail
-
nextRotationTime
@Stability(Stable) public AssuredWorkloadsWorkloadKmsSettings.Builder nextRotationTime(String nextRotationTime)
Sets the value ofAssuredWorkloadsWorkloadKmsSettings.getNextRotationTime()- Parameters:
nextRotationTime- Required. This parameter is required. Input only. Immutable. The time at which the Key Management Service will automatically create a new version of the crypto key and mark it as the primary. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/assured_workloads_workload#next_rotation_time AssuredWorkloadsWorkload#next_rotation_time}- Returns:
this
-
rotationPeriod
@Stability(Stable) public AssuredWorkloadsWorkloadKmsSettings.Builder rotationPeriod(String rotationPeriod)
Sets the value ofAssuredWorkloadsWorkloadKmsSettings.getRotationPeriod()- Parameters:
rotationPeriod- Required. This parameter is required. Input only. Immutable. will be advanced by this period when the Key Management Service automatically rotates a key. Must be at least 24 hours and at most 876,000 hours. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/assured_workloads_workload#rotation_period AssuredWorkloadsWorkload#rotation_period}- Returns:
this
-
build
@Stability(Stable) public AssuredWorkloadsWorkloadKmsSettings build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AssuredWorkloadsWorkloadKmsSettings>- Returns:
- a new instance of
AssuredWorkloadsWorkloadKmsSettings - Throws:
NullPointerException- if any required attribute was not provided
-
-