public UpdatePrimaryEmailAddressRequest withEmail(String email) {
        setEmail(email);
        return this;
    }
<p>
The value of the email to be updated as primary.
</p>

@param email
       The value of the email to be updated as primary.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-workmail/src/main/java/com/amazonaws/services/workmail/model/UpdatePrimaryEmailAddressRequest.java