code: public void marshall(KerberosAttributes kerberosAttributes, ProtocolMarshaller protocolMarshaller) {
  
          if (kerberosAttributes == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(kerberosAttributes.getRealm(), REALM_BINDING);
              protocolMarshaller.marshall(kerberosAttributes.getKdcAdminPassword(), KDCADMINPASSWORD_BINDING);
              protocolMarshaller.marshall(kerberosAttributes.getCrossRealmTrustPrincipalPassword(), CROSSREALMTRUSTPRINCIPALPASSWORD_BINDING);
              protocolMarshaller.marshall(kerberosAttributes.getADDomainJoinUser(), ADDOMAINJOINUSER_BINDING);
              protocolMarshaller.marshall(kerberosAttributes.getADDomainJoinPassword(), ADDOMAINJOINPASSWORD_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.