code: public void marshall(Profile profile, ProtocolMarshaller protocolMarshaller) {
  
          if (profile == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(profile.getProfileArn(), PROFILEARN_BINDING);
              protocolMarshaller.marshall(profile.getProfileName(), PROFILENAME_BINDING);
              protocolMarshaller.marshall(profile.getIsDefault(), ISDEFAULT_BINDING);
              protocolMarshaller.marshall(profile.getAddress(), ADDRESS_BINDING);
              protocolMarshaller.marshall(profile.getTimezone(), TIMEZONE_BINDING);
              protocolMarshaller.marshall(profile.getDistanceUnit(), DISTANCEUNIT_BINDING);
              protocolMarshaller.marshall(profile.getTemperatureUnit(), TEMPERATUREUNIT_BINDING);
              protocolMarshaller.marshall(profile.getWakeWord(), WAKEWORD_BINDING);
              protocolMarshaller.marshall(profile.getSetupModeDisabled(), SETUPMODEDISABLED_BINDING);
              protocolMarshaller.marshall(profile.getMaxVolumeLimit(), MAXVOLUMELIMIT_BINDING);
              protocolMarshaller.marshall(profile.getPSTNEnabled(), PSTNENABLED_BINDING);
              protocolMarshaller.marshall(profile.getAddressBookArn(), ADDRESSBOOKARN_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.