@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsSecretsManagerSecretDetails extends Object implements Serializable, Cloneable, StructuredPojo
Details about an Secrets Manager secret.
Constructor and Description |
---|
AwsSecretsManagerSecretDetails() |
Modifier and Type | Method and Description |
---|---|
AwsSecretsManagerSecretDetails |
clone() |
boolean |
equals(Object obj) |
Boolean |
getDeleted()
Whether the secret is deleted.
|
String |
getDescription()
The user-provided description of the secret.
|
String |
getKmsKeyId()
The ARN, Key ID, or alias of the KMS key used to encrypt the
SecretString or
SecretBinary values for versions of this secret. |
String |
getName()
The name of the secret.
|
Boolean |
getRotationEnabled()
Whether rotation is enabled.
|
String |
getRotationLambdaArn()
The ARN of the Lambda function that rotates the secret.
|
Boolean |
getRotationOccurredWithinFrequency()
Whether the rotation occurred within the specified rotation frequency.
|
AwsSecretsManagerSecretRotationRules |
getRotationRules()
Defines the rotation schedule for the secret.
|
int |
hashCode() |
Boolean |
isDeleted()
Whether the secret is deleted.
|
Boolean |
isRotationEnabled()
Whether rotation is enabled.
|
Boolean |
isRotationOccurredWithinFrequency()
Whether the rotation occurred within the specified rotation frequency.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDeleted(Boolean deleted)
Whether the secret is deleted.
|
void |
setDescription(String description)
The user-provided description of the secret.
|
void |
setKmsKeyId(String kmsKeyId)
The ARN, Key ID, or alias of the KMS key used to encrypt the
SecretString or
SecretBinary values for versions of this secret. |
void |
setName(String name)
The name of the secret.
|
void |
setRotationEnabled(Boolean rotationEnabled)
Whether rotation is enabled.
|
void |
setRotationLambdaArn(String rotationLambdaArn)
The ARN of the Lambda function that rotates the secret.
|
void |
setRotationOccurredWithinFrequency(Boolean rotationOccurredWithinFrequency)
Whether the rotation occurred within the specified rotation frequency.
|
void |
setRotationRules(AwsSecretsManagerSecretRotationRules rotationRules)
Defines the rotation schedule for the secret.
|
String |
toString()
Returns a string representation of this object.
|
AwsSecretsManagerSecretDetails |
withDeleted(Boolean deleted)
Whether the secret is deleted.
|
AwsSecretsManagerSecretDetails |
withDescription(String description)
The user-provided description of the secret.
|
AwsSecretsManagerSecretDetails |
withKmsKeyId(String kmsKeyId)
The ARN, Key ID, or alias of the KMS key used to encrypt the
SecretString or
SecretBinary values for versions of this secret. |
AwsSecretsManagerSecretDetails |
withName(String name)
The name of the secret.
|
AwsSecretsManagerSecretDetails |
withRotationEnabled(Boolean rotationEnabled)
Whether rotation is enabled.
|
AwsSecretsManagerSecretDetails |
withRotationLambdaArn(String rotationLambdaArn)
The ARN of the Lambda function that rotates the secret.
|
AwsSecretsManagerSecretDetails |
withRotationOccurredWithinFrequency(Boolean rotationOccurredWithinFrequency)
Whether the rotation occurred within the specified rotation frequency.
|
AwsSecretsManagerSecretDetails |
withRotationRules(AwsSecretsManagerSecretRotationRules rotationRules)
Defines the rotation schedule for the secret.
|
public void setRotationRules(AwsSecretsManagerSecretRotationRules rotationRules)
Defines the rotation schedule for the secret.
rotationRules
- Defines the rotation schedule for the secret.public AwsSecretsManagerSecretRotationRules getRotationRules()
Defines the rotation schedule for the secret.
public AwsSecretsManagerSecretDetails withRotationRules(AwsSecretsManagerSecretRotationRules rotationRules)
Defines the rotation schedule for the secret.
rotationRules
- Defines the rotation schedule for the secret.public void setRotationOccurredWithinFrequency(Boolean rotationOccurredWithinFrequency)
Whether the rotation occurred within the specified rotation frequency.
rotationOccurredWithinFrequency
- Whether the rotation occurred within the specified rotation frequency.public Boolean getRotationOccurredWithinFrequency()
Whether the rotation occurred within the specified rotation frequency.
public AwsSecretsManagerSecretDetails withRotationOccurredWithinFrequency(Boolean rotationOccurredWithinFrequency)
Whether the rotation occurred within the specified rotation frequency.
rotationOccurredWithinFrequency
- Whether the rotation occurred within the specified rotation frequency.public Boolean isRotationOccurredWithinFrequency()
Whether the rotation occurred within the specified rotation frequency.
public void setKmsKeyId(String kmsKeyId)
The ARN, Key ID, or alias of the KMS key used to encrypt the SecretString
or
SecretBinary
values for versions of this secret.
kmsKeyId
- The ARN, Key ID, or alias of the KMS key used to encrypt the SecretString
or
SecretBinary
values for versions of this secret.public String getKmsKeyId()
The ARN, Key ID, or alias of the KMS key used to encrypt the SecretString
or
SecretBinary
values for versions of this secret.
SecretString
or
SecretBinary
values for versions of this secret.public AwsSecretsManagerSecretDetails withKmsKeyId(String kmsKeyId)
The ARN, Key ID, or alias of the KMS key used to encrypt the SecretString
or
SecretBinary
values for versions of this secret.
kmsKeyId
- The ARN, Key ID, or alias of the KMS key used to encrypt the SecretString
or
SecretBinary
values for versions of this secret.public void setRotationEnabled(Boolean rotationEnabled)
Whether rotation is enabled.
rotationEnabled
- Whether rotation is enabled.public Boolean getRotationEnabled()
Whether rotation is enabled.
public AwsSecretsManagerSecretDetails withRotationEnabled(Boolean rotationEnabled)
Whether rotation is enabled.
rotationEnabled
- Whether rotation is enabled.public Boolean isRotationEnabled()
Whether rotation is enabled.
public void setRotationLambdaArn(String rotationLambdaArn)
The ARN of the Lambda function that rotates the secret.
rotationLambdaArn
- The ARN of the Lambda function that rotates the secret.public String getRotationLambdaArn()
The ARN of the Lambda function that rotates the secret.
public AwsSecretsManagerSecretDetails withRotationLambdaArn(String rotationLambdaArn)
The ARN of the Lambda function that rotates the secret.
rotationLambdaArn
- The ARN of the Lambda function that rotates the secret.public void setDeleted(Boolean deleted)
Whether the secret is deleted.
deleted
- Whether the secret is deleted.public Boolean getDeleted()
Whether the secret is deleted.
public AwsSecretsManagerSecretDetails withDeleted(Boolean deleted)
Whether the secret is deleted.
deleted
- Whether the secret is deleted.public Boolean isDeleted()
Whether the secret is deleted.
public void setName(String name)
The name of the secret.
name
- The name of the secret.public String getName()
The name of the secret.
public AwsSecretsManagerSecretDetails withName(String name)
The name of the secret.
name
- The name of the secret.public void setDescription(String description)
The user-provided description of the secret.
description
- The user-provided description of the secret.public String getDescription()
The user-provided description of the secret.
public AwsSecretsManagerSecretDetails withDescription(String description)
The user-provided description of the secret.
description
- The user-provided description of the secret.public String toString()
toString
in class Object
Object.toString()
public AwsSecretsManagerSecretDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.