Interface UpdateAgentContextRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ContextRequest.Builder,CopyableBuilder<UpdateAgentContextRequest.Builder,,UpdateAgentContextRequest> SdkBuilder<UpdateAgentContextRequest.Builder,,UpdateAgentContextRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateAgentContextRequest
-
Method Summary
Modifier and TypeMethodDescriptionagentContextId(String agentContextId) The agent context to update, by its ID or ARN.connectionMappings(Collection<ConnectionMapping> connectionMappings) The connection mappings for this agent context, 0–20 entries.connectionMappings(Consumer<ConnectionMapping.Builder>... connectionMappings) The connection mappings for this agent context, 0–20 entries.connectionMappings(ConnectionMapping... connectionMappings) The connection mappings for this agent context, 0–20 entries.description(String description) The new description.entityResolutionConfig(Consumer<EntityResolutionConfig.Builder> entityResolutionConfig) Merged into the agent context's entity resolution settings: an absent member leaves its stored value unchanged.entityResolutionConfig(EntityResolutionConfig entityResolutionConfig) Merged into the agent context's entity resolution settings: an absent member leaves its stored value unchanged.The new name.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.traceAnalysisConfig(Consumer<TraceAnalysisConfig.Builder> traceAnalysisConfig) Merged into the agent context's trace analysis settings: an absent member leaves its stored value unchanged.traceAnalysisConfig(TraceAnalysisConfig traceAnalysisConfig) Merged into the agent context's trace analysis settings: an absent member leaves its stored value unchanged.trustedIdentitySources(Collection<TrustedIdentitySource> trustedIdentitySources) Identity sources to trust in addition to your account.trustedIdentitySources(Consumer<TrustedIdentitySource.Builder>... trustedIdentitySources) Identity sources to trust in addition to your account.trustedIdentitySources(TrustedIdentitySource... trustedIdentitySources) Identity sources to trust in addition to your account.workforceSignInConfig(Consumer<WorkforceSignInConfig.Builder> workforceSignInConfig) Merged into the agent context's workforce sign-in settings: an absent member leaves its stored value unchanged.workforceSignInConfig(WorkforceSignInConfig workforceSignInConfig) Merged into the agent context's workforce sign-in settings: an absent member leaves its stored value unchanged.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.context.model.ContextRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
This is a convenience method that creates an instance of theACTIVE. 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.ConnectionMapping.Builderavoiding the need to create one manually viaConnectionMapping.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconnectionMappings(List<ConnectionMapping>).- Parameters:
connectionMappings- a consumer that will call methods onConnectionMapping.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
traceAnalysisConfig
Merged into the agent context's trace analysis settings: an absent member leaves its stored value unchanged.
statusENABLED requires a role, supplied here or already on the agent context. A role supplied withoutstatusrequires the agent context'sstatusto read ENABLED.- Parameters:
traceAnalysisConfig- Merged into the agent context's trace analysis settings: an absent member leaves its stored value unchanged.statusENABLED requires a role, supplied here or already on the agent context. A role supplied withoutstatusrequires the agent context'sstatusto 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.
This is a convenience method that creates an instance of thestatusENABLED requires a role, supplied here or already on the agent context. A role supplied withoutstatusrequires the agent context'sstatusto read ENABLED.TraceAnalysisConfig.Builderavoiding the need to create one manually viaTraceAnalysisConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totraceAnalysisConfig(TraceAnalysisConfig).- Parameters:
traceAnalysisConfig- a consumer that will call methods onTraceAnalysisConfig.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.
signInUrlreplaces the stored URL and reads ENABLED.statusDISABLED removes the stored URL.statusENABLED 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.signInUrlreplaces the stored URL and reads ENABLED.statusDISABLED removes the stored URL.statusENABLED 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.
This is a convenience method that creates an instance of thesignInUrlreplaces the stored URL and reads ENABLED.statusDISABLED removes the stored URL.statusENABLED requires a URL, supplied here or already on the agent context.WorkforceSignInConfig.Builderavoiding the need to create one manually viaWorkforceSignInConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toworkforceSignInConfig(WorkforceSignInConfig).- Parameters:
workforceSignInConfig- a consumer that will call methods onWorkforceSignInConfig.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 theEntityResolutionConfig.Builderavoiding the need to create one manually viaEntityResolutionConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toentityResolutionConfig(EntityResolutionConfig).- Parameters:
entityResolutionConfig- a consumer that will call methods onEntityResolutionConfig.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,
This is a convenience method that creates an instance of the[]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.TrustedIdentitySource.Builderavoiding the need to create one manually viaTrustedIdentitySource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totrustedIdentitySources(List<TrustedIdentitySource>).- Parameters:
trustedIdentitySources- a consumer that will call methods onTrustedIdentitySource.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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateAgentContextRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-