Interface CommandPayload.Builder

    • Method Detail

      • content

        CommandPayload.Builder content​(SdkBytes content)

        The static payload file for the command.

        Parameters:
        content - The static payload file for the command.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • contentType

        CommandPayload.Builder contentType​(String contentType)

        The content type that specifies the format type of the payload file. This field must use a type/subtype format, such as application/json. For information about various content types, see Common MIME types.

        Parameters:
        contentType - The content type that specifies the format type of the payload file. This field must use a type/subtype format, such as application/json. For information about various content types, see Common MIME types.
        Returns:
        Returns a reference to this object so that method calls can be chained together.