@Override
  public ValidationResult isValid() {
    ValidationResult.ValidationResultBuilder builder = ValidationResult.builder();

    if (this.serviceInstanceId == null) {
      builder.message("service instance id must be specified");
    }

    return builder.build();
  }
コード例 #2
0
  @Override
  public ValidationResult isValid() {
    ValidationResult.ValidationResultBuilder builder = ValidationResult.builder();

    if (this.name == null) {
      builder.message("name must be specified");
    }

    return builder.build();
  }
  @Override
  public ValidationResult isValid() {
    ValidationResult.ValidationResultBuilder builder = ValidationResult.builder();

    if (this.organizationId == null) {
      builder.message("organization id must be specified");
    }

    if (this.username == null) {
      builder.message("username must be specified");
    }

    return builder.build();
  }
コード例 #4
0
  @Override
  public ValidationResult isValid() {
    ValidationResult.ValidationResultBuilder builder = ValidationResult.builder();

    if (this.applicationId == null) {
      builder.message("application id must be specified");
    }

    if (this.index == null) {
      builder.message("index must be specified");
    }

    return builder.build();
  }
コード例 #5
0
  @Override
  public ValidationResult isValid() {
    ValidationResult.ValidationResultBuilder builder = ValidationResult.builder();

    if (this.developerId == null) {
      builder.message("developer id must be specified");
    }

    if (this.spaceId == null) {
      builder.message("space id must be specified");
    }

    return builder.build();
  }