public ValidationExceptionDetail withFieldName(String fieldName) {
        setFieldName(fieldName);
        return this;
    }
<p>
The field name where the invalid entry was detected.
</p>

@param fieldName
       The field name where the invalid entry was detected.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-costoptimizationhub/src/main/java/com/amazonaws/services/costoptimizationhub/model/ValidationExceptionDetail.java