public AwsRedshiftClusterDetails withDeferredMaintenanceWindows(AwsRedshiftClusterDeferredMaintenanceWindow... deferredMaintenanceWindows) {
        if (this.deferredMaintenanceWindows == null) {
            setDeferredMaintenanceWindows(new java.util.ArrayList<AwsRedshiftClusterDeferredMaintenanceWindow>(deferredMaintenanceWindows.length));
        }
        for (AwsRedshiftClusterDeferredMaintenanceWindow ele : deferredMaintenanceWindows) {
            this.deferredMaintenanceWindows.add(ele);
        }
        return this;
    }
<p>
List of time windows during which maintenance was deferred.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setDeferredMaintenanceWindows(java.util.Collection)} or
{@link #withDeferredMaintenanceWindows(java.util.Collection)} if you want to override the existing values.
</p>

@param deferredMaintenanceWindows
       List of time windows during which maintenance was deferred.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsRedshiftClusterDetails.java