Interface GCMChannelResponse.Builder

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

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

    • applicationId

      GCMChannelResponse.Builder applicationId(String applicationId)

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

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

      GCMChannelResponse.Builder creationDate(String creationDate)

      The date and time when the GCM channel was enabled.

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

      GCMChannelResponse.Builder credential(String credential)

      The Web API Key, also referred to as an API_KEY or server key, that you received from Google to communicate with Google services.

      Parameters:
      credential - The Web API Key, also referred to as an API_KEY or server key, that you received from Google to communicate with Google services.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • defaultAuthenticationMethod

      GCMChannelResponse.Builder defaultAuthenticationMethod(String defaultAuthenticationMethod)

      The default authentication method used for GCM. Values are either "TOKEN" or "KEY". Defaults to "KEY".

      Parameters:
      defaultAuthenticationMethod - The default authentication method used for GCM. Values are either "TOKEN" or "KEY". Defaults to "KEY".
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enabled

      Specifies whether the GCM channel is enabled for the application.

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

      GCMChannelResponse.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.
    • hasFcmServiceCredentials

      GCMChannelResponse.Builder hasFcmServiceCredentials(Boolean hasFcmServiceCredentials)

      Returns true if the JSON file provided by Google during registration process was used in the ServiceJson field of the request.

      Parameters:
      hasFcmServiceCredentials - Returns true if the JSON file provided by Google during registration process was used in the ServiceJson field of the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • id

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

      Parameters:
      id - (Deprecated) An identifier for the GCM 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

      GCMChannelResponse.Builder isArchived(Boolean isArchived)

      Specifies whether the GCM channel is archived.

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

      GCMChannelResponse.Builder lastModifiedBy(String lastModifiedBy)

      The user who last modified the GCM channel.

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

      GCMChannelResponse.Builder lastModifiedDate(String lastModifiedDate)

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

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

      GCMChannelResponse.Builder platform(String platform)

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

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

      The current version of the GCM channel.

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