public FieldOptionError withErrorCode(String errorCode) {
        setErrorCode(errorCode);
        return this;
    }
<p>
Error code from creating or updating field option.
</p>

@param errorCode
       Error code from creating or updating field option.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-connectcases/src/main/java/com/amazonaws/services/connectcases/model/FieldOptionError.java