@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CertificateValidity extends Object implements Serializable, Cloneable, StructuredPojo
When the certificate is valid.
Constructor and Description |
---|
CertificateValidity() |
Modifier and Type | Method and Description |
---|---|
CertificateValidity |
clone() |
boolean |
equals(Object obj) |
Date |
getNotAfter()
The certificate is not valid after this date.
|
Date |
getNotBefore()
The certificate is not valid before this date.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setNotAfter(Date notAfter)
The certificate is not valid after this date.
|
void |
setNotBefore(Date notBefore)
The certificate is not valid before this date.
|
String |
toString()
Returns a string representation of this object.
|
CertificateValidity |
withNotAfter(Date notAfter)
The certificate is not valid after this date.
|
CertificateValidity |
withNotBefore(Date notBefore)
The certificate is not valid before this date.
|
public void setNotBefore(Date notBefore)
The certificate is not valid before this date.
notBefore
- The certificate is not valid before this date.public Date getNotBefore()
The certificate is not valid before this date.
public CertificateValidity withNotBefore(Date notBefore)
The certificate is not valid before this date.
notBefore
- The certificate is not valid before this date.public void setNotAfter(Date notAfter)
The certificate is not valid after this date.
notAfter
- The certificate is not valid after this date.public Date getNotAfter()
The certificate is not valid after this date.
public CertificateValidity withNotAfter(Date notAfter)
The certificate is not valid after this date.
notAfter
- The certificate is not valid after this date.public String toString()
toString
in class Object
Object.toString()
public CertificateValidity clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.