public Activation withExpirationDate(java.util.Date expirationDate) {
        setExpirationDate(expirationDate);
        return this;
    }
<p>
The date when this activation can no longer be used to register managed nodes.
</p>

@param expirationDate
       The date when this activation can no longer be used to register managed nodes.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/Activation.java