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