code: public void marshall(InputSecurityGroup inputSecurityGroup, ProtocolMarshaller protocolMarshaller) {
  
          if (inputSecurityGroup == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(inputSecurityGroup.getArn(), ARN_BINDING);
              protocolMarshaller.marshall(inputSecurityGroup.getId(), ID_BINDING);
              protocolMarshaller.marshall(inputSecurityGroup.getInputs(), INPUTS_BINDING);
              protocolMarshaller.marshall(inputSecurityGroup.getState(), STATE_BINDING);
              protocolMarshaller.marshall(inputSecurityGroup.getTags(), TAGS_BINDING);
              protocolMarshaller.marshall(inputSecurityGroup.getWhitelistRules(), WHITELISTRULES_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.