public UpdateDirectConnectGatewayAssociationRequest withRemoveAllowedPrefixesToDirectConnectGateway(
            RouteFilterPrefix... removeAllowedPrefixesToDirectConnectGateway) {
        if (this.removeAllowedPrefixesToDirectConnectGateway == null) {
            setRemoveAllowedPrefixesToDirectConnectGateway(new com.amazonaws.internal.SdkInternalList<RouteFilterPrefix>(
                    removeAllowedPrefixesToDirectConnectGateway.length));
        }
        for (RouteFilterPrefix ele : removeAllowedPrefixesToDirectConnectGateway) {
            this.removeAllowedPrefixesToDirectConnectGateway.add(ele);
        }
        return this;
    }
<p>
The Amazon VPC prefixes to no longer advertise to the Direct Connect gateway.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setRemoveAllowedPrefixesToDirectConnectGateway(java.util.Collection)} or
{@link #withRemoveAllowedPrefixesToDirectConnectGateway(java.util.Collection)} if you want to override the
existing values.
</p>

@param removeAllowedPrefixesToDirectConnectGateway
       The Amazon VPC prefixes to no longer advertise to the Direct Connect gateway.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-directconnect/src/main/java/com/amazonaws/services/directconnect/model/UpdateDirectConnectGatewayAssociationRequest.java