code: public void marshall(PortfolioDetail portfolioDetail, ProtocolMarshaller protocolMarshaller) {
  
          if (portfolioDetail == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(portfolioDetail.getId(), ID_BINDING);
              protocolMarshaller.marshall(portfolioDetail.getARN(), ARN_BINDING);
              protocolMarshaller.marshall(portfolioDetail.getDisplayName(), DISPLAYNAME_BINDING);
              protocolMarshaller.marshall(portfolioDetail.getDescription(), DESCRIPTION_BINDING);
              protocolMarshaller.marshall(portfolioDetail.getCreatedTime(), CREATEDTIME_BINDING);
              protocolMarshaller.marshall(portfolioDetail.getProviderName(), PROVIDERNAME_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.