public NumberValidateResponse withCountryCodeIso2(String countryCodeIso2) {
        setCountryCodeIso2(countryCodeIso2);
        return this;
    }
<p>
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the phone number was
originally registered.
</p>

@param countryCodeIso2
       The two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the phone number was
       originally registered.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/NumberValidateResponse.java