Class UnifiedCredentials.Builder

java.lang.Object
com.sinch.sdk.models.UnifiedCredentials.Builder
Enclosing class:
UnifiedCredentials

public static class UnifiedCredentials.Builder extends Object
Dedicated Builder
Since:
1.0
  • Method Details

    • setKeyId

      public UnifiedCredentials.Builder setKeyId(String keyId)
      Set key ID
      Parameters:
      keyId - key ID
      Returns:
      Current builder
      Since:
      1.0
    • setKeySecret

      public UnifiedCredentials.Builder setKeySecret(String keySecret)
      Set key secret
      Parameters:
      keySecret - key secret
      Returns:
      Current builder
      Since:
      1.0
    • setProjectId

      public UnifiedCredentials.Builder setProjectId(String projectId)
      Set Project ID
      Parameters:
      projectId - Project ID
      Returns:
      Current builder
      Since:
      1.0
    • build

      public UnifiedCredentials build()
      Create instance
      Returns:
      The instance build with current builder values
      Since:
      1.0