Interface UpdateAgentContextRequest.Builder

  • Method Details

    • agentContextId

      UpdateAgentContextRequest.Builder agentContextId(String agentContextId)

      The agent context to update, by its ID or ARN.

      Parameters:
      agentContextId - The agent context to update, by its ID or ARN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The new name. If you omit it, the name is unchanged.

      Parameters:
      name - The new name. If you omit it, the name is unchanged.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      UpdateAgentContextRequest.Builder description(String description)

      The new description. Absent leaves the description unchanged. An empty string removes it.

      Parameters:
      description - The new description. Absent leaves the description unchanged. An empty string removes it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • connectionMappings

      UpdateAgentContextRequest.Builder connectionMappings(Collection<ConnectionMapping> connectionMappings)

      The connection mappings for this agent context, 0–20 entries. If you provide a list, it replaces the stored set: AWS Context removes entries that are not in the list, adds new entries, and overwrites retained entries with exactly the values that you provide, without merging fields. An empty list removes all connection links. If you omit this member, the existing links are unchanged.

      Each newly referenced connection must exist, be owned by your account, and be ACTIVE. Order is significant. When several connections reach the same AWS Glue Data Catalog table, AWS Context tries the connection mapped first, with its own access, and then the next.

      Parameters:
      connectionMappings - The connection mappings for this agent context, 0–20 entries. If you provide a list, it replaces the stored set: AWS Context removes entries that are not in the list, adds new entries, and overwrites retained entries with exactly the values that you provide, without merging fields. An empty list removes all connection links. If you omit this member, the existing links are unchanged.

      Each newly referenced connection must exist, be owned by your account, and be ACTIVE. Order is significant. When several connections reach the same AWS Glue Data Catalog table, AWS Context tries the connection mapped first, with its own access, and then the next.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • connectionMappings

      UpdateAgentContextRequest.Builder connectionMappings(ConnectionMapping... connectionMappings)

      The connection mappings for this agent context, 0–20 entries. If you provide a list, it replaces the stored set: AWS Context removes entries that are not in the list, adds new entries, and overwrites retained entries with exactly the values that you provide, without merging fields. An empty list removes all connection links. If you omit this member, the existing links are unchanged.

      Each newly referenced connection must exist, be owned by your account, and be ACTIVE. Order is significant. When several connections reach the same AWS Glue Data Catalog table, AWS Context tries the connection mapped first, with its own access, and then the next.

      Parameters:
      connectionMappings - The connection mappings for this agent context, 0–20 entries. If you provide a list, it replaces the stored set: AWS Context removes entries that are not in the list, adds new entries, and overwrites retained entries with exactly the values that you provide, without merging fields. An empty list removes all connection links. If you omit this member, the existing links are unchanged.

      Each newly referenced connection must exist, be owned by your account, and be ACTIVE. Order is significant. When several connections reach the same AWS Glue Data Catalog table, AWS Context tries the connection mapped first, with its own access, and then the next.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • connectionMappings

      UpdateAgentContextRequest.Builder connectionMappings(Consumer<ConnectionMapping.Builder>... connectionMappings)

      The connection mappings for this agent context, 0–20 entries. If you provide a list, it replaces the stored set: AWS Context removes entries that are not in the list, adds new entries, and overwrites retained entries with exactly the values that you provide, without merging fields. An empty list removes all connection links. If you omit this member, the existing links are unchanged.

      Each newly referenced connection must exist, be owned by your account, and be ACTIVE. Order is significant. When several connections reach the same AWS Glue Data Catalog table, AWS Context tries the connection mapped first, with its own access, and then the next.

      This is a convenience method that creates an instance of the ConnectionMapping.Builder avoiding the need to create one manually via ConnectionMapping.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to connectionMappings(List<ConnectionMapping>).

      Parameters:
      connectionMappings - a consumer that will call methods on ConnectionMapping.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • traceAnalysisConfig

      UpdateAgentContextRequest.Builder traceAnalysisConfig(TraceAnalysisConfig traceAnalysisConfig)

      Merged into the agent context's trace analysis settings: an absent member leaves its stored value unchanged. status ENABLED requires a role, supplied here or already on the agent context. A role supplied without status requires the agent context's status to read ENABLED.

      Parameters:
      traceAnalysisConfig - Merged into the agent context's trace analysis settings: an absent member leaves its stored value unchanged. status ENABLED requires a role, supplied here or already on the agent context. A role supplied without status requires the agent context's status to read ENABLED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • traceAnalysisConfig

      default UpdateAgentContextRequest.Builder traceAnalysisConfig(Consumer<TraceAnalysisConfig.Builder> traceAnalysisConfig)

      Merged into the agent context's trace analysis settings: an absent member leaves its stored value unchanged. status ENABLED requires a role, supplied here or already on the agent context. A role supplied without status requires the agent context's status to read ENABLED.

      This is a convenience method that creates an instance of the TraceAnalysisConfig.Builder avoiding the need to create one manually via TraceAnalysisConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to traceAnalysisConfig(TraceAnalysisConfig).

      Parameters:
      traceAnalysisConfig - a consumer that will call methods on TraceAnalysisConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • workforceSignInConfig

      UpdateAgentContextRequest.Builder workforceSignInConfig(WorkforceSignInConfig workforceSignInConfig)

      Merged into the agent context's workforce sign-in settings: an absent member leaves its stored value unchanged. signInUrl replaces the stored URL and reads ENABLED. status DISABLED removes the stored URL. status ENABLED requires a URL, supplied here or already on the agent context.

      Parameters:
      workforceSignInConfig - Merged into the agent context's workforce sign-in settings: an absent member leaves its stored value unchanged. signInUrl replaces the stored URL and reads ENABLED. status DISABLED removes the stored URL. status ENABLED requires a URL, supplied here or already on the agent context.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workforceSignInConfig

      default UpdateAgentContextRequest.Builder workforceSignInConfig(Consumer<WorkforceSignInConfig.Builder> workforceSignInConfig)

      Merged into the agent context's workforce sign-in settings: an absent member leaves its stored value unchanged. signInUrl replaces the stored URL and reads ENABLED. status DISABLED removes the stored URL. status ENABLED requires a URL, supplied here or already on the agent context.

      This is a convenience method that creates an instance of the WorkforceSignInConfig.Builder avoiding the need to create one manually via WorkforceSignInConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to workforceSignInConfig(WorkforceSignInConfig).

      Parameters:
      workforceSignInConfig - a consumer that will call methods on WorkforceSignInConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • entityResolutionConfig

      UpdateAgentContextRequest.Builder entityResolutionConfig(EntityResolutionConfig entityResolutionConfig)

      Merged into the agent context's entity resolution settings: an absent member leaves its stored value unchanged.

      Parameters:
      entityResolutionConfig - Merged into the agent context's entity resolution settings: an absent member leaves its stored value unchanged.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • entityResolutionConfig

      default UpdateAgentContextRequest.Builder entityResolutionConfig(Consumer<EntityResolutionConfig.Builder> entityResolutionConfig)

      Merged into the agent context's entity resolution settings: an absent member leaves its stored value unchanged.

      This is a convenience method that creates an instance of the EntityResolutionConfig.Builder avoiding the need to create one manually via EntityResolutionConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to entityResolutionConfig(EntityResolutionConfig).

      Parameters:
      entityResolutionConfig - a consumer that will call methods on EntityResolutionConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • trustedIdentitySources

      UpdateAgentContextRequest.Builder trustedIdentitySources(Collection<TrustedIdentitySource> trustedIdentitySources)

      Identity sources to trust in addition to your account. A present list replaces the stored list, [] clears it so only your account is trusted, and an absent field leaves it unchanged. Order is not significant: a list with the stored entries in another order changes nothing. A change takes effect within about a minute.

      Parameters:
      trustedIdentitySources - Identity sources to trust in addition to your account. A present list replaces the stored list, [] clears it so only your account is trusted, and an absent field leaves it unchanged. Order is not significant: a list with the stored entries in another order changes nothing. A change takes effect within about a minute.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • trustedIdentitySources

      UpdateAgentContextRequest.Builder trustedIdentitySources(TrustedIdentitySource... trustedIdentitySources)

      Identity sources to trust in addition to your account. A present list replaces the stored list, [] clears it so only your account is trusted, and an absent field leaves it unchanged. Order is not significant: a list with the stored entries in another order changes nothing. A change takes effect within about a minute.

      Parameters:
      trustedIdentitySources - Identity sources to trust in addition to your account. A present list replaces the stored list, [] clears it so only your account is trusted, and an absent field leaves it unchanged. Order is not significant: a list with the stored entries in another order changes nothing. A change takes effect within about a minute.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • trustedIdentitySources

      UpdateAgentContextRequest.Builder trustedIdentitySources(Consumer<TrustedIdentitySource.Builder>... trustedIdentitySources)

      Identity sources to trust in addition to your account. A present list replaces the stored list, [] clears it so only your account is trusted, and an absent field leaves it unchanged. Order is not significant: a list with the stored entries in another order changes nothing. A change takes effect within about a minute.

      This is a convenience method that creates an instance of the TrustedIdentitySource.Builder avoiding the need to create one manually via TrustedIdentitySource.builder() .

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to trustedIdentitySources(List<TrustedIdentitySource>).

      Parameters:
      trustedIdentitySources - a consumer that will call methods on TrustedIdentitySource.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      UpdateAgentContextRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.