@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsSecretsManagerSecretRotationRules extends Object implements Serializable, Cloneable, StructuredPojo
Defines the rotation schedule for the secret.
Constructor and Description |
---|
AwsSecretsManagerSecretRotationRules() |
Modifier and Type | Method and Description |
---|---|
AwsSecretsManagerSecretRotationRules |
clone() |
boolean |
equals(Object obj) |
Integer |
getAutomaticallyAfterDays()
The number of days after the previous rotation to rotate the secret.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAutomaticallyAfterDays(Integer automaticallyAfterDays)
The number of days after the previous rotation to rotate the secret.
|
String |
toString()
Returns a string representation of this object.
|
AwsSecretsManagerSecretRotationRules |
withAutomaticallyAfterDays(Integer automaticallyAfterDays)
The number of days after the previous rotation to rotate the secret.
|
public AwsSecretsManagerSecretRotationRules()
public void setAutomaticallyAfterDays(Integer automaticallyAfterDays)
The number of days after the previous rotation to rotate the secret.
automaticallyAfterDays
- The number of days after the previous rotation to rotate the secret.public Integer getAutomaticallyAfterDays()
The number of days after the previous rotation to rotate the secret.
public AwsSecretsManagerSecretRotationRules withAutomaticallyAfterDays(Integer automaticallyAfterDays)
The number of days after the previous rotation to rotate the secret.
automaticallyAfterDays
- The number of days after the previous rotation to rotate the secret.public String toString()
toString
in class Object
Object.toString()
public AwsSecretsManagerSecretRotationRules clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.