Package com.okta.sdk.resource.model
Class ManagedConnection
java.lang.Object
com.okta.sdk.resource.model.ManagedConnection
- 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 ManagedConnection
extends Object
implements Serializable
ManagedConnection
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumType of connection authentication methodstatic enumThe authentication protocol type used for the connection -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ManagedConnection.ConnectionTypeEnumstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddscopesItem(String scopesItem) authorizationServer(CustomAuthorizationServer authorizationServer) connectionType(ManagedConnection.ConnectionTypeEnum connectionType) booleangetApp()Get appGet authorizationServerType of connection authentication methodgetId()Unique identifier for the managed connection.getLinks()Get linksgetOrn()The [ORN](https://developer.okta.com/docs/api/openapi/okta-management/guides/roles/#okta-resource-name-orn) of the managed connectionThe authentication protocol type used for the connectionResource indicator used when requesting tokens.Get scopeConditionArray of scopes.Get secretGet serviceAccountGet statusinthashCode()protocolType(ManagedConnection.ProtocolTypeEnum protocolType) resourceIndicator(URI resourceIndicator) scopeCondition(ScopeCondition scopeCondition) secret(ManagedConnectionVaultedSecret secret) serviceAccount(ManagedConnectionServiceAccount serviceAccount) voidvoidsetAuthorizationServer(CustomAuthorizationServer authorizationServer) voidsetConnectionType(ManagedConnection.ConnectionTypeEnum connectionType) voidvoidvoidvoidsetProtocolType(ManagedConnection.ProtocolTypeEnum protocolType) voidsetResourceIndicator(URI resourceIndicator) voidsetScopeCondition(ScopeCondition scopeCondition) voidvoidvoidsetServiceAccount(ManagedConnectionServiceAccount serviceAccount) voidsetStatus(ManagedConnectionStatus status) status(ManagedConnectionStatus status) toString()
-
Field Details
-
JSON_PROPERTY_APP
- See Also:
-
JSON_PROPERTY_AUTHORIZATION_SERVER
- See Also:
-
JSON_PROPERTY_CONNECTION_TYPE
- See Also:
-
connectionType
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_ORN
- 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_STATUS
- See Also:
-
JSON_PROPERTY_LINKS
- See Also:
-
JSON_PROPERTY_SECRET
- See Also:
-
JSON_PROPERTY_SERVICE_ACCOUNT
- See Also:
-
-
Constructor Details
-
ManagedConnection
public ManagedConnection()
-
-
Method Details
-
app
-
getApp
Get app- Returns:
- app
-
setApp
-
authorizationServer
-
getAuthorizationServer
Get authorizationServer- Returns:
- authorizationServer
-
setAuthorizationServer
-
connectionType
-
getConnectionType
Type of connection authentication method- Returns:
- connectionType
-
setConnectionType
-
id
-
getId
Unique identifier for the managed connection. Only present for managed connections.- Returns:
- id
-
setId
-
orn
-
getOrn
The [ORN](https://developer.okta.com/docs/api/openapi/okta-management/guides/roles/#okta-resource-name-orn) of the managed connection- Returns:
- orn
-
setOrn
-
protocolType
-
getProtocolType
The authentication protocol type used for the connection- Returns:
- protocolType
-
setProtocolType
-
resourceIndicator
-
getResourceIndicator
Resource indicator used when requesting tokens.- 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
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
links
-
getLinks
Get links- Returns:
- links
-
setLinks
-
secret
-
getSecret
Get secret- Returns:
- secret
-
setSecret
-
serviceAccount
-
getServiceAccount
Get serviceAccount- Returns:
- serviceAccount
-
setServiceAccount
-
equals
-
hashCode
public int hashCode() -
toString
-