code: public DetectStackDriftRequest withLogicalResourceIds(String... logicalResourceIds) {
          if (this.logicalResourceIds == null) {
              setLogicalResourceIds(new com.amazonaws.internal.SdkInternalList<String>(logicalResourceIds.length));
          }
          for (String ele : logicalResourceIds) {
              this.logicalResourceIds.add(ele);
          }
          return this;
      }
docs: <p>
  The logical names of any resources you want to use as filters.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setLogicalResourceIds(java.util.Collection)} or {@link #withLogicalResourceIds(java.util.Collection)} if
  you want to override the existing values.
  </p>
  
  @param logicalResourceIds
  The logical names of any resources you want to use as filters.
  @return Returns a reference to this object so that method calls can be chained together.