Class SecretRotationRotationRulesArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.secretsmanager.inputs.SecretRotationRotationRulesArgs.Builder
-
- Enclosing class:
- SecretRotationRotationRulesArgs
public static final class SecretRotationRotationRulesArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(SecretRotationRotationRulesArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecretRotationRotationRulesArgs.BuilderautomaticallyAfterDays(com.pulumi.core.Output<java.lang.Integer> automaticallyAfterDays)SecretRotationRotationRulesArgs.BuilderautomaticallyAfterDays(java.lang.Integer automaticallyAfterDays)SecretRotationRotationRulesArgsbuild()SecretRotationRotationRulesArgs.Builderduration(com.pulumi.core.Output<java.lang.String> duration)SecretRotationRotationRulesArgs.Builderduration(java.lang.String duration)SecretRotationRotationRulesArgs.BuilderscheduleExpression(com.pulumi.core.Output<java.lang.String> scheduleExpression)SecretRotationRotationRulesArgs.BuilderscheduleExpression(java.lang.String scheduleExpression)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(SecretRotationRotationRulesArgs defaults)
-
-
Method Detail
-
automaticallyAfterDays
public SecretRotationRotationRulesArgs.Builder automaticallyAfterDays(@Nullable com.pulumi.core.Output<java.lang.Integer> automaticallyAfterDays)
- Parameters:
automaticallyAfterDays- Number of days between automatic scheduled rotations of the secret. Either `automaticallyAfterDays` or `scheduleExpression` must be specified.- Returns:
- builder
-
automaticallyAfterDays
public SecretRotationRotationRulesArgs.Builder automaticallyAfterDays(java.lang.Integer automaticallyAfterDays)
- Parameters:
automaticallyAfterDays- Number of days between automatic scheduled rotations of the secret. Either `automaticallyAfterDays` or `scheduleExpression` must be specified.- Returns:
- builder
-
duration
public SecretRotationRotationRulesArgs.Builder duration(@Nullable com.pulumi.core.Output<java.lang.String> duration)
- Parameters:
duration- The length of the rotation window in hours. For example, `3h` for a three hour window.- Returns:
- builder
-
duration
public SecretRotationRotationRulesArgs.Builder duration(java.lang.String duration)
- Parameters:
duration- The length of the rotation window in hours. For example, `3h` for a three hour window.- Returns:
- builder
-
scheduleExpression
public SecretRotationRotationRulesArgs.Builder scheduleExpression(@Nullable com.pulumi.core.Output<java.lang.String> scheduleExpression)
- Parameters:
scheduleExpression- `cron()` or `rate()` expression that defines the schedule for rotating your secret. Either `automaticallyAfterDays` or `scheduleExpression` must be specified.- Returns:
- builder
-
scheduleExpression
public SecretRotationRotationRulesArgs.Builder scheduleExpression(java.lang.String scheduleExpression)
- Parameters:
scheduleExpression- `cron()` or `rate()` expression that defines the schedule for rotating your secret. Either `automaticallyAfterDays` or `scheduleExpression` must be specified.- Returns:
- builder
-
build
public SecretRotationRotationRulesArgs build()
-
-