Interface BaiduChannelResponse.Builder

All Superinterfaces:
Buildable, CopyableBuilder<BaiduChannelResponse.Builder,BaiduChannelResponse>, SdkBuilder<BaiduChannelResponse.Builder,BaiduChannelResponse>, SdkPojo
Enclosing class:
BaiduChannelResponse

public static interface BaiduChannelResponse.Builder extends SdkPojo, CopyableBuilder<BaiduChannelResponse.Builder,BaiduChannelResponse>
  • Method Details

    • applicationId

      BaiduChannelResponse.Builder applicationId(String applicationId)

      The unique identifier for the application that the Baidu channel applies to.

      Parameters:
      applicationId - The unique identifier for the application that the Baidu channel applies to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationDate

      BaiduChannelResponse.Builder creationDate(String creationDate)

      The date and time when the Baidu channel was enabled.

      Parameters:
      creationDate - The date and time when the Baidu channel was enabled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • credential

      BaiduChannelResponse.Builder credential(String credential)

      The API key that you received from the Baidu Cloud Push service to communicate with the service.

      Parameters:
      credential - The API key that you received from the Baidu Cloud Push service to communicate with the service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enabled

      Specifies whether the Baidu channel is enabled for the application.

      Parameters:
      enabled - Specifies whether the Baidu channel is enabled for the application.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hasCredential

      BaiduChannelResponse.Builder hasCredential(Boolean hasCredential)

      (Not used) This property is retained only for backward compatibility.

      Parameters:
      hasCredential - (Not used) This property is retained only for backward compatibility.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • id

      (Deprecated) An identifier for the Baidu channel. This property is retained only for backward compatibility.

      Parameters:
      id - (Deprecated) An identifier for the Baidu channel. This property is retained only for backward compatibility.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isArchived

      BaiduChannelResponse.Builder isArchived(Boolean isArchived)

      Specifies whether the Baidu channel is archived.

      Parameters:
      isArchived - Specifies whether the Baidu channel is archived.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModifiedBy

      BaiduChannelResponse.Builder lastModifiedBy(String lastModifiedBy)

      The user who last modified the Baidu channel.

      Parameters:
      lastModifiedBy - The user who last modified the Baidu channel.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModifiedDate

      BaiduChannelResponse.Builder lastModifiedDate(String lastModifiedDate)

      The date and time when the Baidu channel was last modified.

      Parameters:
      lastModifiedDate - The date and time when the Baidu channel was last modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • platform

      The type of messaging or notification platform for the channel. For the Baidu channel, this value is BAIDU.

      Parameters:
      platform - The type of messaging or notification platform for the channel. For the Baidu channel, this value is BAIDU.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • version

      The current version of the Baidu channel.

      Parameters:
      version - The current version of the Baidu channel.
      Returns:
      Returns a reference to this object so that method calls can be chained together.