Package com.okta.sdk.resource.model
Class ManagedConnectionPatchable
java.lang.Object
com.okta.sdk.resource.model.ManagedConnectionPatchable
- 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 ManagedConnectionPatchable
extends Object
implements Serializable
Update an existing managed connection. All fields are optional for partial updates. **Field Applicability by
Connection Type:** - `resourceIndicator`: Valid for IDENTITY_ASSERTION_APP_INSTANCE,
IDENTITY_ASSERTION_CUSTOM_AS, STS_SERVICE_ACCOUNT, and STS_VAULT_SECRET. Set to `null` to reset to the
default value (the resource's ORN). - `scopeCondition` and `scopes`: Only valid for
IDENTITY_ASSERTION_APP_INSTANCE and IDENTITY_ASSERTION_CUSTOM_AS connections. The server returns a validation error
if these fields are sent for STS connection types. **Validation:** - If `scopeCondition` is provided,
`scopes` must also be provided, and vice versa. - For STS_VAULT_SECRET and STS_SERVICE_ACCOUNT connection
types, only `resourceIndicator` can be updated.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddscopesItem(String scopesItem) booleanResource indicator used when requesting tokens.org.openapitools.jackson.nullable.JsonNullable<URI>Get scopeConditionorg.openapitools.jackson.nullable.JsonNullable<ManagedConnectionPatchableScopeCondition>Array of scopes for the connection.inthashCode()resourceIndicator(URI resourceIndicator) scopeCondition(ManagedConnectionPatchableScopeCondition scopeCondition) voidsetResourceIndicator(URI resourceIndicator) voidsetResourceIndicator_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<URI> resourceIndicator) voidsetScopeCondition(ManagedConnectionPatchableScopeCondition scopeCondition) voidsetScopeCondition_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<ManagedConnectionPatchableScopeCondition> scopeCondition) voidvoidsetScopes_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> scopes) toString()
-
Field Details
-
JSON_PROPERTY_RESOURCE_INDICATOR
- See Also:
-
JSON_PROPERTY_SCOPE_CONDITION
- See Also:
-
JSON_PROPERTY_SCOPES
- See Also:
-
-
Constructor Details
-
ManagedConnectionPatchable
public ManagedConnectionPatchable()
-
-
Method Details
-
resourceIndicator
-
getResourceIndicator
Resource indicator used when requesting tokens. Set to `null` to reset to the default value based on the connection type (app instance ORN, authorization server ORN, secret ORN, or service account ORN).- Returns:
- resourceIndicator
-
getResourceIndicator_JsonNullable
-
setResourceIndicator_JsonNullable
public void setResourceIndicator_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<URI> resourceIndicator) -
setResourceIndicator
-
scopeCondition
public ManagedConnectionPatchable scopeCondition(ManagedConnectionPatchableScopeCondition scopeCondition) -
getScopeCondition
Get scopeCondition- Returns:
- scopeCondition
-
getScopeCondition_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<ManagedConnectionPatchableScopeCondition> getScopeCondition_JsonNullable() -
setScopeCondition_JsonNullable
public void setScopeCondition_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<ManagedConnectionPatchableScopeCondition> scopeCondition) -
setScopeCondition
-
scopes
-
addscopesItem
-
getScopes
Array of scopes for the connection. For `ALL_SCOPES`, this array must contain a single value of `*`. For `INCLUDE_ONLY`, only these scopes are allowed. For `EXCLUDE`, all scopes except these are allowed. **Restrictions:** - Only valid for IDENTITY_ASSERTION_APP_INSTANCE and IDENTITY_ASSERTION_CUSTOM_AS connection types - Must be provided together with `scopeCondition` - Returns a 400 error if sent for STS_VAULT_SECRET or STS_SERVICE_ACCOUNT connection types- Returns:
- scopes
-
getScopes_JsonNullable
-
setScopes_JsonNullable
-
setScopes
-
equals
-
hashCode
public int hashCode() -
toString
-