Package com.okta.sdk.resource.model
Class ManagedConnectionCreatable
java.lang.Object
com.okta.sdk.resource.model.ManagedConnectionCreatable
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-03-13T17:36:05.533634+05:30[Asia/Kolkata]",
comments="Generator version: 7.15.0")
public class ManagedConnectionCreatable
extends Object
implements Serializable
Create a new connection
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumType of connection authentication methodstatic enumThe authentication protocol type used for the connection -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddscopesItem(String scopesItem) authorizationServer(IdentityAssertionCustomASConnectionCreatableAuthorizationServer authorizationServer) connectionType(ManagedConnectionCreatable.ConnectionTypeEnum connectionType) booleangetApp()Get appGet authorizationServerType of connection authentication methodIssuer URL for the app instance's authorization serverThe authentication protocol type used for the connectionResource indicator used when requesting tokens.Get scopeConditionArray of scopes.Get secretGet serviceAccountinthashCode()protocolType(ManagedConnectionCreatable.ProtocolTypeEnum protocolType) resourceIndicator(URI resourceIndicator) scopeCondition(ScopeCondition scopeCondition) serviceAccount(STSServiceAccountConnectionCreatableServiceAccount serviceAccount) voidvoidsetAuthorizationServer(IdentityAssertionCustomASConnectionCreatableAuthorizationServer authorizationServer) voidsetConnectionType(ManagedConnectionCreatable.ConnectionTypeEnum connectionType) voidsetIssuerUrl(String issuerUrl) voidsetProtocolType(ManagedConnectionCreatable.ProtocolTypeEnum protocolType) voidsetResourceIndicator(URI resourceIndicator) voidsetScopeCondition(ScopeCondition scopeCondition) voidvoidvoidsetServiceAccount(STSServiceAccountConnectionCreatableServiceAccount serviceAccount) toString()
-
Field Details
-
JSON_PROPERTY_APP
- See Also:
-
JSON_PROPERTY_CONNECTION_TYPE
- See Also:
-
connectionType
-
JSON_PROPERTY_ISSUER_URL
- See Also:
-
JSON_PROPERTY_PROTOCOL_TYPE
- See Also:
-
JSON_PROPERTY_RESOURCE_INDICATOR
- See Also:
-
JSON_PROPERTY_SCOPE_CONDITION
- See Also:
-
JSON_PROPERTY_SCOPES
- See Also:
-
JSON_PROPERTY_AUTHORIZATION_SERVER
- See Also:
-
JSON_PROPERTY_SECRET
- See Also:
-
JSON_PROPERTY_SERVICE_ACCOUNT
- See Also:
-
-
Constructor Details
-
ManagedConnectionCreatable
public ManagedConnectionCreatable()
-
-
Method Details
-
app
-
getApp
Get app- Returns:
- app
-
setApp
-
connectionType
public ManagedConnectionCreatable connectionType(ManagedConnectionCreatable.ConnectionTypeEnum connectionType) -
getConnectionType
Type of connection authentication method- Returns:
- connectionType
-
setConnectionType
-
issuerUrl
-
getIssuerUrl
Issuer URL for the app instance's authorization server- Returns:
- issuerUrl
-
setIssuerUrl
-
protocolType
public ManagedConnectionCreatable protocolType(ManagedConnectionCreatable.ProtocolTypeEnum protocolType) -
getProtocolType
The authentication protocol type used for the connection- Returns:
- protocolType
-
setProtocolType
-
resourceIndicator
-
getResourceIndicator
Resource indicator used when requesting tokens. Defaults to the service account's ORN if not specified.- Returns:
- resourceIndicator
-
setResourceIndicator
-
scopeCondition
-
getScopeCondition
Get scopeCondition- Returns:
- scopeCondition
-
setScopeCondition
-
scopes
-
addscopesItem
-
getScopes
Array of scopes. Required for all `scopeCondition` values. For `ALL_SCOPES`, this array is required with a single value of `*`. For `INCLUDE_ONLY`, only these scopes are allowed. For `EXCLUDE`, all scopes except these are allowed.- Returns:
- scopes
-
setScopes
-
authorizationServer
public ManagedConnectionCreatable authorizationServer(IdentityAssertionCustomASConnectionCreatableAuthorizationServer authorizationServer) -
getAuthorizationServer
@Nonnull public IdentityAssertionCustomASConnectionCreatableAuthorizationServer getAuthorizationServer()Get authorizationServer- Returns:
- authorizationServer
-
setAuthorizationServer
public void setAuthorizationServer(IdentityAssertionCustomASConnectionCreatableAuthorizationServer authorizationServer) -
secret
-
getSecret
Get secret- Returns:
- secret
-
setSecret
-
serviceAccount
public ManagedConnectionCreatable serviceAccount(STSServiceAccountConnectionCreatableServiceAccount serviceAccount) -
getServiceAccount
Get serviceAccount- Returns:
- serviceAccount
-
setServiceAccount
-
equals
-
hashCode
public int hashCode() -
toString
-