code: public HashAlgorithmOptions withAllowedValues(HashAlgorithm... allowedValues) {
          java.util.ArrayList<String> allowedValuesCopy = new java.util.ArrayList<String>(allowedValues.length);
          for (HashAlgorithm value : allowedValues) {
              allowedValuesCopy.add(value.toString());
          }
          if (getAllowedValues() == null) {
              setAllowedValues(allowedValuesCopy);
          } else {
              getAllowedValues().addAll(allowedValuesCopy);
          }
          return this;
      }
docs: <p>
  The set of accepted hash algorithms allowed in an AWS Signer job.
  </p>
  
  @param allowedValues
  The set of accepted hash algorithms allowed in an AWS Signer job.
  @return Returns a reference to this object so that method calls can be chained together.
  @see HashAlgorithm