public DomainDetail withConfiguration(DomainConfiguration configuration) {
        setConfiguration(configuration);
        return this;
    }
<p>
The domain configuration. Currently, this includes only the domain's retention period.
</p>

@param configuration
       The domain configuration. Currently, this includes only the domain's retention period.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-simpleworkflow/src/main/java/com/amazonaws/services/simpleworkflow/model/DomainDetail.java