code: public CloudWatchDestination withDimensionConfigurations(CloudWatchDimensionConfiguration... dimensionConfigurations) {
          if (this.dimensionConfigurations == null) {
              setDimensionConfigurations(new com.amazonaws.internal.SdkInternalList<CloudWatchDimensionConfiguration>(dimensionConfigurations.length));
          }
          for (CloudWatchDimensionConfiguration ele : dimensionConfigurations) {
              this.dimensionConfigurations.add(ele);
          }
          return this;
      }
docs: <p>
  A list of dimensions upon which to categorize your emails when you publish email sending events to Amazon
  CloudWatch.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setDimensionConfigurations(java.util.Collection)} or
  {@link #withDimensionConfigurations(java.util.Collection)} if you want to override the existing values.
  </p>
  
  @param dimensionConfigurations
  A list of dimensions upon which to categorize your emails when you publish email sending events to Amazon
  CloudWatch.
  @return Returns a reference to this object so that method calls can be chained together.