public ResolveAttributesInput build()

in DynamoDbEncryption/runtimes/java/src/main/smithy-generated/software/amazon/cryptography/dbencryptionsdk/dynamodb/transforms/model/ResolveAttributesInput.java [143:172]


    public ResolveAttributesInput build() {
      if (Objects.isNull(this.TableName())) {
        throw new IllegalArgumentException(
          "Missing value for required field `TableName`"
        );
      }
      if (Objects.nonNull(this.TableName()) && this.TableName().length() < 3) {
        throw new IllegalArgumentException(
          "The size of `TableName` must be greater than or equal to 3"
        );
      }
      if (
        Objects.nonNull(this.TableName()) && this.TableName().length() > 255
      ) {
        throw new IllegalArgumentException(
          "The size of `TableName` must be less than or equal to 255"
        );
      }
      if (Objects.isNull(this.Item())) {
        throw new IllegalArgumentException(
          "Missing value for required field `Item`"
        );
      }
      if (this._VersionSet && this.Version() < 1) {
        throw new IllegalArgumentException(
          "`Version` must be greater than or equal to 1"
        );
      }
      return new ResolveAttributesInput(this);
    }