public PendingMaintenanceAction withAction(String action) {
        setAction(action);
        return this;
    }
<p>
The type of pending maintenance action that is available for the resource.
</p>

@param action
       The type of pending maintenance action that is available for the resource.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-dms/src/main/java/com/amazonaws/services/databasemigrationservice/model/PendingMaintenanceAction.java