Class AwsSecretsManagerSecretDetails
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.AwsSecretsManagerSecretDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsSecretsManagerSecretDetails.Builder,AwsSecretsManagerSecretDetails>
@Generated("software.amazon.awssdk:codegen") public final class AwsSecretsManagerSecretDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsSecretsManagerSecretDetails.Builder,AwsSecretsManagerSecretDetails>
Details about an Secrets Manager secret.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAwsSecretsManagerSecretDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AwsSecretsManagerSecretDetails.Builderbuilder()Booleandeleted()Whether the secret is deleted.Stringdescription()The user-provided description of the secret.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringkmsKeyId()The ARN, Key ID, or alias of the KMS key used to encrypt theSecretStringorSecretBinaryvalues for versions of this secret.Stringname()The name of the secret.BooleanrotationEnabled()Whether rotation is enabled.StringrotationLambdaArn()The ARN of the Lambda function that rotates the secret.BooleanrotationOccurredWithinFrequency()Whether the rotation occurred within the specified rotation frequency.AwsSecretsManagerSecretRotationRulesrotationRules()Defines the rotation schedule for the secret.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AwsSecretsManagerSecretDetails.Builder>serializableBuilderClass()AwsSecretsManagerSecretDetails.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
rotationRules
public final AwsSecretsManagerSecretRotationRules rotationRules()
Defines the rotation schedule for the secret.
- Returns:
- Defines the rotation schedule for the secret.
-
rotationOccurredWithinFrequency
public final Boolean rotationOccurredWithinFrequency()
Whether the rotation occurred within the specified rotation frequency.
- Returns:
- Whether the rotation occurred within the specified rotation frequency.
-
kmsKeyId
public final String kmsKeyId()
The ARN, Key ID, or alias of the KMS key used to encrypt the
SecretStringorSecretBinaryvalues for versions of this secret.- Returns:
- The ARN, Key ID, or alias of the KMS key used to encrypt the
SecretStringorSecretBinaryvalues for versions of this secret.
-
rotationEnabled
public final Boolean rotationEnabled()
Whether rotation is enabled.
- Returns:
- Whether rotation is enabled.
-
rotationLambdaArn
public final String rotationLambdaArn()
The ARN of the Lambda function that rotates the secret.
- Returns:
- The ARN of the Lambda function that rotates the secret.
-
deleted
public final Boolean deleted()
Whether the secret is deleted.
- Returns:
- Whether the secret is deleted.
-
name
public final String name()
The name of the secret.
- Returns:
- The name of the secret.
-
description
public final String description()
The user-provided description of the secret.
- Returns:
- The user-provided description of the secret.
-
toBuilder
public AwsSecretsManagerSecretDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AwsSecretsManagerSecretDetails.Builder,AwsSecretsManagerSecretDetails>
-
builder
public static AwsSecretsManagerSecretDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsSecretsManagerSecretDetails.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-