public static class SecretExpiryRule.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SecretExpiryRule |
build() |
SecretExpiryRule.Builder |
copy(SecretExpiryRule model) |
SecretExpiryRule.Builder |
isSecretContentRetrievalBlockedOnExpiry(Boolean isSecretContentRetrievalBlockedOnExpiry)
A property indicating whether to block retrieval of the secret content, on expiry.
|
SecretExpiryRule.Builder |
secretVersionExpiryInterval(String secretVersionExpiryInterval)
A property indicating how long the secret contents will be considered valid, expressed in
ISO 8601 format.
|
SecretExpiryRule.Builder |
timeOfAbsoluteExpiry(Date timeOfAbsoluteExpiry)
An optional property indicating the absolute time when this secret will expire, expressed
in RFC 3339 timestamp format.
|
public SecretExpiryRule.Builder secretVersionExpiryInterval(String secretVersionExpiryInterval)
A property indicating how long the secret contents will be considered valid, expressed in
ISO 8601 format. The secret
needs to be updated when the secret content expires. The timer resets after you update
the secret contents. The minimum value is 1 day and the maximum value is 90 days for this
property. Currently, only intervals expressed in days are supported. For example, pass
P3D
to have the secret version expire every 3 days.
secretVersionExpiryInterval
- the value to setpublic SecretExpiryRule.Builder timeOfAbsoluteExpiry(Date timeOfAbsoluteExpiry)
An optional property indicating the absolute time when this secret will expire, expressed
in RFC 3339 timestamp format. The minimum number
of days from current time is 1 day and the maximum number of days from current time is
365 days. Example: 2019-04-03T21:10:29.600Z
timeOfAbsoluteExpiry
- the value to setpublic SecretExpiryRule.Builder isSecretContentRetrievalBlockedOnExpiry(Boolean isSecretContentRetrievalBlockedOnExpiry)
A property indicating whether to block retrieval of the secret content, on expiry. The default is false. If the secret has already expired and you would like to retrieve the secret contents, you need to edit the secret rule to disable this property, to allow reading the secret content.
isSecretContentRetrievalBlockedOnExpiry
- the value to setpublic SecretExpiryRule build()
public SecretExpiryRule.Builder copy(SecretExpiryRule model)
Copyright © 2016–2024. All rights reserved.