public PartitionError withErrorDetail(ErrorDetail errorDetail) {
        setErrorDetail(errorDetail);
        return this;
    }
<p>
The details about the partition error.
</p>

@param errorDetail
       The details about the partition error.
@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/PartitionError.java