public GetNetworkResult withNetwork(Network network) {
        setNetwork(network);
        return this;
    }
<p>
An object containing network configuration parameters.
</p>

@param network
       An object containing network configuration parameters.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-managedblockchain/src/main/java/com/amazonaws/services/managedblockchain/model/GetNetworkResult.java