content: /**
  
  */
  package software.amazon.serverless.apprepo.api.client.model;
  
  import javax.annotation.Generated;
  
  /**
   * 
   */
  @Generated("com.amazonaws:aws-java-sdk-code-generator")
  public class BadRequestException extends software.amazon.serverless.apprepo.api.client.model.AWSServerlessApplicationRepositoryException {
      private static final long serialVersionUID = 1L;
  
      private String errorCode;
  
      /**
       * Constructs a new BadRequestException with the specified error message.
       *
       * @param message
       *        Describes the error encountered.
       */
      public BadRequestException(String message) {
          super(message);
      }
  
      /**
       * @param errorCode
       */
  
      @com.fasterxml.jackson.annotation.JsonProperty("errorCode")
      public void setErrorCode(String errorCode) {
          this.errorCode = errorCode;
      }
  
      /**
       * @return
       */
  
      @com.fasterxml.jackson.annotation.JsonProperty("errorCode")
      public String getErrorCode() {
          return this.errorCode;
      }
  
      /**
       * @param errorCode
       * @return Returns a reference to this object so that method calls can be chained together.
       */
  
      public BadRequestException errorCode(String errorCode) {
          setErrorCode(errorCode);
          return this;
      }
  
  }
  