public IngressIpToEvaluate withAttribute(String attribute) {
        setAttribute(attribute);
        return this;
    }
<p>
An enum type representing the allowed attribute types for an IP condition.
</p>

@param attribute
       An enum type representing the allowed attribute types for an IP condition.
@return Returns a reference to this object so that method calls can be chained together.
@see IngressIpv4Attribute
aws-java-sdk-mailmanager/src/main/java/com/amazonaws/services/mailmanager/model/IngressIpToEvaluate.java