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 Details

  • Constructor Details

    • ManagedConnectionPatchable

      public ManagedConnectionPatchable()
  • Method Details

    • resourceIndicator

      public ManagedConnectionPatchable resourceIndicator(URI resourceIndicator)
    • getResourceIndicator

      @Nullable public URI 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

      public org.openapitools.jackson.nullable.JsonNullable<URI> getResourceIndicator_JsonNullable()
    • setResourceIndicator_JsonNullable

      public void setResourceIndicator_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<URI> resourceIndicator)
    • setResourceIndicator

      public void setResourceIndicator(URI resourceIndicator)
    • 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

      public void setScopeCondition(ManagedConnectionPatchableScopeCondition scopeCondition)
    • scopes

      public ManagedConnectionPatchable scopes(List<String> scopes)
    • addscopesItem

      public ManagedConnectionPatchable addscopesItem(String scopesItem)
    • getScopes

      @Nullable public List<String> 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

      public org.openapitools.jackson.nullable.JsonNullable<List<String>> getScopes_JsonNullable()
    • setScopes_JsonNullable

      public void setScopes_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> scopes)
    • setScopes

      public void setScopes(List<String> scopes)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object