primaryRegion
The Region where Secrets Manager originated the secret.
- Returns:
- The Region where Secrets Manager originated the secret.
Serializable, SdkPojo, ToCopyableBuilder<SecretListEntry.Builder,SecretListEntry>
A structure that contains the details about a secret. It does not include the encrypted SecretString and
SecretBinary values. To get those values, use GetSecretValue .
final Stringarn()static SecretListEntry.Builderbuilder()final Instantfinal Instantfinal Stringfinal booleanfinal booleanequalsBySdkFields(Object obj) final Stringfinal <T> Optional<T>getValueForField(String fieldName,
Class<T> clazz) final booleanfinal inthashCode()final booleanfinal booleanhasTags()final StringkmsKeyId()final Instantfinal Instantfinal Instantfinal Stringname()final Instantfinal Stringfinal Stringfinal Booleanfinal StringRotateSecret .final RotationRulesTypeSecretVersionStage staging labels and the
SecretVersionId attached to each one.static Class<? extends SecretListEntry.Builder>tags()final StringtoString()final Stringtype()clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopyThe Amazon Resource Name (ARN) of the secret.
The friendly name of the secret.
The exact string that identifies the third-party partner that holds the external secret. For more information, see Managed external secret partners.
The user-provided description of the secret.
The ARN of the KMS key that Secrets Manager uses to encrypt the secret value. If the secret is encrypted with the
Amazon Web Services managed key aws/secretsmanager, this field is omitted.
aws/secretsmanager, this field is omitted.Indicates whether automatic, scheduled rotation is enabled for this secret.
The ARN of an Amazon Web Services Lambda function invoked by Secrets Manager to rotate and expire the secret
either automatically per the schedule or manually by a call to
RotateSecret .
RotateSecret .A structure that defines the rotation configuration for the secret.
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.The metadata needed to successfully rotate a managed external secret. A list of key value pairs in JSON format specified by the partner. For more information about the required information, see Managed external secrets partners.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasExternalSecretRotationMetadata() method.
The role that Secrets Manager assumes to call APIs required to perform the rotation. For more information about the required information, see Managed external secrets partners.
The most recent date and time that the Secrets Manager rotation process was successfully completed. This value is null if the secret hasn't ever rotated.
The last date and time that this secret was modified in any way.
The date that the secret was last accessed in the Region. This field is omitted if the secret has never been retrieved in the Region.
The date and time the deletion of the secret occurred. Not present on active secrets. The secret can be recovered
until the number of days in the recovery window has passed, as specified in the RecoveryWindowInDays
parameter of the
DeleteSecret operation.
RecoveryWindowInDays parameter of the
DeleteSecret operation.The next rotation is scheduled to occur on or before this date. If the secret isn't configured for rotation or rotation has been disabled, Secrets Manager returns null.
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.
The list of user-defined tags associated with the secret. To add tags to a secret, use
TagResource . To remove tags, use
UntagResource .
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
TagResource . To remove tags, use
UntagResource .isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.
A list of all of the currently assigned SecretVersionStage staging labels and the
SecretVersionId attached to each one. Staging labels are used to keep track of the different
versions during the rotation process.
A version that does not have any SecretVersionStage is considered deprecated and subject to
deletion. Such versions are not included in this list.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSecretVersionsToStages() method.
SecretVersionStage staging labels and the
SecretVersionId attached to each one. Staging labels are used to keep track of the different
versions during the rotation process.
A version that does not have any SecretVersionStage is considered deprecated and subject to
deletion. Such versions are not included in this list.
Returns the name of the service that created the secret.
The date and time when a secret was created.
The Region where Secrets Manager originated the secret.
toBuilder in interface ToCopyableBuilder<SecretListEntry.Builder,SecretListEntry> equalsBySdkFields in interface SdkPojosdkFieldNameToField in interface SdkPojo