Class ConnectSessionCreate.Builder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.ConnectSessionCreate.Builder
-
- Enclosing class:
- ConnectSessionCreate
public static final class ConnectSessionCreate.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectSessionCreate.BuilderaccountId(java.lang.String accountId)The unique identifier for the account associated with this connect session.ConnectSessionCreate.BuilderaccountId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> accountId)The unique identifier for the account associated with this connect session.ConnectSessionCreatebuild()ConnectSessionCreate.Buildercategories(java.util.List<Categories> categories)The categories of the provider to connect toConnectSessionCreate.Buildercategories(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<Categories>> categories)The categories of the provider to connect toConnectSessionCreate.BuilderexpiresIn(double expiresIn)How long the session should be valid for in secondsConnectSessionCreate.BuilderexpiresIn(org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> expiresIn)How long the session should be valid for in secondsConnectSessionCreate.BuilderintegrationId(java.lang.String integrationId)The integration ID associated with this connect sessionConnectSessionCreate.BuilderintegrationId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> integrationId)The integration ID associated with this connect sessionConnectSessionCreate.Builderlabel(java.lang.String label)The label to be applied to the account associated with this connect session.ConnectSessionCreate.Builderlabel(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> label)The label to be applied to the account associated with this connect session.ConnectSessionCreate.Buildermetadata(Metadata metadata)The metadata for the connectionConnectSessionCreate.Buildermetadata(org.openapitools.jackson.nullable.JsonNullable<? extends Metadata> metadata)The metadata for the connectionConnectSessionCreate.Buildermultiple(boolean multiple)If set, this connect session will allow creation of multiple accounts with the same origin owner id and provider.ConnectSessionCreate.Buildermultiple(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.ConnectSessionCreate.BuilderoriginOwnerId(java.lang.String originOwnerId)The origin owner identifierConnectSessionCreate.BuilderoriginOwnerName(java.lang.String originOwnerName)The origin owner nameConnectSessionCreate.BuilderoriginUsername(java.lang.String originUsername)The origin usernameConnectSessionCreate.BuilderoriginUsername(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> originUsername)The origin usernameConnectSessionCreate.Builderprovider(java.lang.String provider)The provider to connect toConnectSessionCreate.Builderprovider(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> provider)The provider to connect toConnectSessionCreate.BuilderproviderVersion(java.lang.String providerVersion)The provider version to connect toConnectSessionCreate.BuilderproviderVersion(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> providerVersion)The provider version to connect toConnectSessionCreate.Buildertype(Type type)The connect session account typeConnectSessionCreate.Buildertype(org.openapitools.jackson.nullable.JsonNullable<? extends Type> type)The connect session account type
-
-
-
Method Detail
-
categories
public ConnectSessionCreate.Builder categories(java.util.List<Categories> categories)
The categories of the provider to connect to
-
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(java.lang.String provider)
The provider to connect to
-
provider
public ConnectSessionCreate.Builder provider(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> provider)
The provider to connect to
-
providerVersion
public ConnectSessionCreate.Builder providerVersion(java.lang.String providerVersion)
The provider version to connect to
-
providerVersion
public ConnectSessionCreate.Builder providerVersion(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> providerVersion)
The provider version to connect to
-
originOwnerId
public ConnectSessionCreate.Builder originOwnerId(java.lang.String originOwnerId)
The origin owner identifier
-
originOwnerName
public ConnectSessionCreate.Builder originOwnerName(java.lang.String originOwnerName)
The origin owner name
-
originUsername
public ConnectSessionCreate.Builder originUsername(java.lang.String originUsername)
The origin username
-
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(double expiresIn)
How long the session should be valid for in seconds
-
expiresIn
public ConnectSessionCreate.Builder expiresIn(org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> expiresIn)
How long the session should be valid for in seconds
-
metadata
public ConnectSessionCreate.Builder metadata(Metadata metadata)
The metadata for the connection
-
metadata
public ConnectSessionCreate.Builder metadata(org.openapitools.jackson.nullable.JsonNullable<? extends Metadata> metadata)
The metadata for the connection
-
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.
-
type
public ConnectSessionCreate.Builder type(Type type)
The connect session account type
-
type
public ConnectSessionCreate.Builder type(org.openapitools.jackson.nullable.JsonNullable<? extends Type> type)
The connect session account type
-
integrationId
public ConnectSessionCreate.Builder integrationId(java.lang.String integrationId)
The integration ID associated with this connect session
-
integrationId
public ConnectSessionCreate.Builder integrationId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> integrationId)
The integration ID associated with this connect session
-
build
public ConnectSessionCreate build()
-
-