public CreatePartitionIndexRequest withPartitionIndex(PartitionIndex partitionIndex) {
        setPartitionIndex(partitionIndex);
        return this;
    }
<p>
Specifies a <code>PartitionIndex</code> structure to create a partition index in an existing table.
</p>

@param partitionIndex
       Specifies a <code>PartitionIndex</code> structure to create a partition index in an existing table.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/CreatePartitionIndexRequest.java