Interface UpdateAgentContextRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateAgentContextRequest.Builder,,UpdateAgentContextRequest> SdkBuilder<UpdateAgentContextRequest.Builder,,UpdateAgentContextRequest> SdkPojo,SdkRequest.Builder,WellArchitectedRequest.Builder
- Enclosing class:
UpdateAgentContextRequest
@Mutable
@NotThreadSafe
public static interface UpdateAgentContextRequest.Builder
extends WellArchitectedRequest.Builder, SdkPojo, CopyableBuilder<UpdateAgentContextRequest.Builder,UpdateAgentContextRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.content(Consumer<ContextContent.Builder> content) The updated typed content of the context.content(ContextContent content) The updated typed content of the context.The unique identifier of the context to update.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.profileArn(String profileArn) The Amazon Resource Name (ARN) of the profile containing the context.The updated title of the context.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.wellarchitected.model.WellArchitectedRequest.Builder
build
-
Method Details
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profileArn
The Amazon Resource Name (ARN) of the profile containing the context.
- Parameters:
profileArn- The Amazon Resource Name (ARN) of the profile containing the context.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The unique identifier of the context to update.
- Parameters:
id- The unique identifier of the context to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
The updated title of the context.
- Parameters:
title- The updated title of the context.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
The updated typed content of the context. The structure contains application-specific fields such as account IDs, Regions, services, and resource types.
- Parameters:
content- The updated typed content of the context. The structure contains application-specific fields such as account IDs, Regions, services, and resource types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
The updated typed content of the context. The structure contains application-specific fields such as account IDs, Regions, services, and resource types.
This is a convenience method that creates an instance of theContextContent.Builderavoiding the need to create one manually viaContextContent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontent(ContextContent).- Parameters:
content- a consumer that will call methods onContextContent.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.
-