private void validateExpectedPartitionValuesCreateRequest(ExpectedPartitionValuesCreateRequest expectedPartitionValuesCreateRequest){
  partitionKeyGroupHelper.validatePartitionKeyGroupKey(expectedPartitionValuesCreateRequest.getPartitionKeyGroupKey());
  expectedPartitionValuesCreateRequest.setExpectedPartitionValues(validateExpectedPartitionValues(expectedPartitionValuesCreateRequest.getExpectedPartitionValues()));
}

private void validateExpectedPartitionValuesCreateRequest ( ExpectedPartitionValuesCreateRequest expectedPartitionValuesCreateRequest ) { partitionKeyGroupHelper . validatePartitionKeyGroupKey ( expectedPartitionValuesCreateRequest . getPartitionKeyGroupKey ( ) ) ; expectedPartitionValuesCreateRequest . setExpectedPartitionValues ( validateExpectedPartitionValues ( expectedPartitionValuesCreateRequest . getExpectedPartitionValues ( ) ) ) ; }
validates the expected partition values create request . this method also trims request parameters .
