Class ConnectSessionCreate.Builder

  • Enclosing class:
    ConnectSessionCreate

    public static final class ConnectSessionCreate.Builder
    extends java.lang.Object
    • Method Detail

      • categories

        public ConnectSessionCreate.Builder categories​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<Categories>> categories)
        The categories of the provider to connect to
      • provider

        public ConnectSessionCreate.Builder provider​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> provider)
        The provider to connect to
      • originUsername

        public ConnectSessionCreate.Builder originUsername​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> originUsername)
        The origin username
      • accountId

        public ConnectSessionCreate.Builder accountId​(java.lang.String accountId)
        The unique identifier for the account associated with this connect session. When this field is present, the hub will launch in edit mode using the retrieved token.
      • accountId

        public ConnectSessionCreate.Builder accountId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> accountId)
        The unique identifier for the account associated with this connect session. When this field is present, the hub will launch in edit mode using the retrieved token.
      • expiresIn

        public ConnectSessionCreate.Builder expiresIn​(org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> expiresIn)
        How long the session should be valid for in seconds
      • multiple

        public ConnectSessionCreate.Builder multiple​(boolean multiple)
        If set, this connect session will allow creation of multiple accounts with the same origin owner id and provider. Has no effect if account_id is set.
      • multiple

        public ConnectSessionCreate.Builder multiple​(org.openapitools.jackson.nullable.JsonNullable<java.lang.Boolean> multiple)
        If set, this connect session will allow creation of multiple accounts with the same origin owner id and provider. Has no effect if account_id is set.
      • label

        public ConnectSessionCreate.Builder label​(java.lang.String label)
        The label to be applied to the account associated with this connect session.
      • label

        public ConnectSessionCreate.Builder label​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> label)
        The label to be applied to the account associated with this connect session.