code: public void marshall(CreateReplicationInstanceRequest createReplicationInstanceRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (createReplicationInstanceRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(createReplicationInstanceRequest.getReplicationInstanceIdentifier(), REPLICATIONINSTANCEIDENTIFIER_BINDING);
              protocolMarshaller.marshall(createReplicationInstanceRequest.getAllocatedStorage(), ALLOCATEDSTORAGE_BINDING);
              protocolMarshaller.marshall(createReplicationInstanceRequest.getReplicationInstanceClass(), REPLICATIONINSTANCECLASS_BINDING);
              protocolMarshaller.marshall(createReplicationInstanceRequest.getVpcSecurityGroupIds(), VPCSECURITYGROUPIDS_BINDING);
              protocolMarshaller.marshall(createReplicationInstanceRequest.getAvailabilityZone(), AVAILABILITYZONE_BINDING);
              protocolMarshaller.marshall(createReplicationInstanceRequest.getReplicationSubnetGroupIdentifier(), REPLICATIONSUBNETGROUPIDENTIFIER_BINDING);
              protocolMarshaller.marshall(createReplicationInstanceRequest.getPreferredMaintenanceWindow(), PREFERREDMAINTENANCEWINDOW_BINDING);
              protocolMarshaller.marshall(createReplicationInstanceRequest.getMultiAZ(), MULTIAZ_BINDING);
              protocolMarshaller.marshall(createReplicationInstanceRequest.getEngineVersion(), ENGINEVERSION_BINDING);
              protocolMarshaller.marshall(createReplicationInstanceRequest.getAutoMinorVersionUpgrade(), AUTOMINORVERSIONUPGRADE_BINDING);
              protocolMarshaller.marshall(createReplicationInstanceRequest.getTags(), TAGS_BINDING);
              protocolMarshaller.marshall(createReplicationInstanceRequest.getKmsKeyId(), KMSKEYID_BINDING);
              protocolMarshaller.marshall(createReplicationInstanceRequest.getPubliclyAccessible(), PUBLICLYACCESSIBLE_BINDING);
              protocolMarshaller.marshall(createReplicationInstanceRequest.getDnsNameServers(), DNSNAMESERVERS_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.