code: public InboundNatRuleInner beginCreateOrUpdate(String resourceGroupName, String loadBalancerName, String inboundNatRuleName, InboundNatRuleInner inboundNatRuleParameters) {
          return beginCreateOrUpdateWithServiceResponseAsync(resourceGroupName, loadBalancerName, inboundNatRuleName, inboundNatRuleParameters).toBlocking().single().body();
      }
docs: Creates or updates a load balancer inbound nat rule.
  
  @param resourceGroupName The name of the resource group.
  @param loadBalancerName The name of the load balancer.
  @param inboundNatRuleName The name of the inbound nat rule.
  @param inboundNatRuleParameters Parameters supplied to the create or update inbound nat rule operation.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws CloudException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the InboundNatRuleInner object if successful.