public NumberValidateResponse withCarrier(String carrier) {
        setCarrier(carrier);
        return this;
    }
<p>
The carrier or service provider that the phone number is currently registered with. In some countries and
regions, this value may be the carrier or service provider that the phone number was originally registered with.
</p>

@param carrier
       The carrier or service provider that the phone number is currently registered with. In some countries and
       regions, this value may be the carrier or service provider that the phone number was originally registered
       with.
@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