@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RotationsListEntry extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about completed key material rotations.
Constructor and Description |
---|
RotationsListEntry() |
Modifier and Type | Method and Description |
---|---|
RotationsListEntry |
clone() |
boolean |
equals(Object obj) |
String |
getKeyId()
Unique identifier of the key.
|
Date |
getRotationDate()
Date and time that the key material rotation completed.
|
String |
getRotationType()
Identifies whether the key material rotation was a scheduled automatic rotation or an on-demand
rotation.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKeyId(String keyId)
Unique identifier of the key.
|
void |
setRotationDate(Date rotationDate)
Date and time that the key material rotation completed.
|
void |
setRotationType(String rotationType)
Identifies whether the key material rotation was a scheduled automatic rotation or an on-demand
rotation.
|
String |
toString()
Returns a string representation of this object.
|
RotationsListEntry |
withKeyId(String keyId)
Unique identifier of the key.
|
RotationsListEntry |
withRotationDate(Date rotationDate)
Date and time that the key material rotation completed.
|
RotationsListEntry |
withRotationType(RotationType rotationType)
Identifies whether the key material rotation was a scheduled automatic rotation or an on-demand
rotation.
|
RotationsListEntry |
withRotationType(String rotationType)
Identifies whether the key material rotation was a scheduled automatic rotation or an on-demand
rotation.
|
public void setKeyId(String keyId)
Unique identifier of the key.
keyId
- Unique identifier of the key.public String getKeyId()
Unique identifier of the key.
public RotationsListEntry withKeyId(String keyId)
Unique identifier of the key.
keyId
- Unique identifier of the key.public void setRotationDate(Date rotationDate)
Date and time that the key material rotation completed. Formatted as Unix time.
rotationDate
- Date and time that the key material rotation completed. Formatted as Unix time.public Date getRotationDate()
Date and time that the key material rotation completed. Formatted as Unix time.
public RotationsListEntry withRotationDate(Date rotationDate)
Date and time that the key material rotation completed. Formatted as Unix time.
rotationDate
- Date and time that the key material rotation completed. Formatted as Unix time.public void setRotationType(String rotationType)
Identifies whether the key material rotation was a scheduled automatic rotation or an on-demand rotation.
rotationType
- Identifies whether the key material rotation was a scheduled automatic rotation or an on-demand rotation.RotationType
public String getRotationType()
Identifies whether the key material rotation was a scheduled automatic rotation or an on-demand rotation.
RotationType
public RotationsListEntry withRotationType(String rotationType)
Identifies whether the key material rotation was a scheduled automatic rotation or an on-demand rotation.
rotationType
- Identifies whether the key material rotation was a scheduled automatic rotation or an on-demand rotation.RotationType
public RotationsListEntry withRotationType(RotationType rotationType)
Identifies whether the key material rotation was a scheduled automatic rotation or an on-demand rotation.
rotationType
- Identifies whether the key material rotation was a scheduled automatic rotation or an on-demand rotation.RotationType
public String toString()
toString
in class Object
Object.toString()
public RotationsListEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.