@Override
    public Builder toBuilder() {
        Builder builder = builder().sourceLocation(getSourceLocation());
        builder.value = value;
        return builder;
    }
Gets the int value.

@return Returns the int value.
@throws ExpectationNotMetException if the int value was not set.
smithy-model/src/main/java/software/amazon/smithy/model/traits/EnumValueTrait.java