public void setTransitGatewayCidrBlocks(java.util.Collection<String> transitGatewayCidrBlocks) {
        if (transitGatewayCidrBlocks == null) {
            this.transitGatewayCidrBlocks = null;
            return;
        }

        this.transitGatewayCidrBlocks = new com.amazonaws.internal.SdkInternalList<String>(transitGatewayCidrBlocks);
    }
<p>
The transit gateway CIDR blocks.
</p>

@param transitGatewayCidrBlocks
       The transit gateway CIDR blocks.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/TransitGatewayOptions.java