Interface CreateAgentContextRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateAgentContextRequest.Builder,,CreateAgentContextRequest> SdkBuilder<CreateAgentContextRequest.Builder,,CreateAgentContextRequest> SdkPojo,SdkRequest.Builder,WellArchitectedRequest.Builder
- Enclosing class:
CreateAgentContextRequest
@Mutable
@NotThreadSafe
public static interface CreateAgentContextRequest.Builder
extends WellArchitectedRequest.Builder, SdkPojo, CopyableBuilder<CreateAgentContextRequest.Builder,CreateAgentContextRequest>
-
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 typed content of the context.content(ContextContent content) The typed content of the context.contextType(String contextType) The type of the context.contextType(ContextType contextType) The type of the context.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 to associate the context with.The 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 to associate the context with.
- Parameters:
profileArn- The Amazon Resource Name (ARN) of the profile to associate the context with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
The title of the context.
- Parameters:
title- The title of the context.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contextType
The type of the context.
- Parameters:
contextType- The type of the context.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
contextType
The type of the context.
- Parameters:
contextType- The type of the context.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
content
The typed content of the context. The structure contains application-specific fields such as account IDs, Regions, services, and resource types.
- Parameters:
content- The 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 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
CreateAgentContextRequest.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
CreateAgentContextRequest.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.
-