Interface UpdateAgentSpaceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateAgentSpaceRequest.Builder,,UpdateAgentSpaceRequest> DevOpsAgentRequest.Builder,SdkBuilder<UpdateAgentSpaceRequest.Builder,,UpdateAgentSpaceRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateAgentSpaceRequest
-
Method Summary
Modifier and TypeMethodDescriptionagentSpaceId(String agentSpaceId) The unique identifier of the AgentSpaceawsSourceMode(String awsSourceMode) Specifies whether the AgentSpace's Amazon Web Services source configuration targets an individual Amazon Web Services account or an Amazon Web Services Organization.awsSourceMode(AwsSourceMode awsSourceMode) Specifies whether the AgentSpace's Amazon Web Services source configuration targets an individual Amazon Web Services account or an Amazon Web Services Organization.description(String description) The updated description of the AgentSpace.The updated locale for the AgentSpace, which determines the language used in agent responses.The updated name of the AgentSpace.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.preferences(Map<AgentSpacePreferenceKey, Boolean> preferences) The preferences to configure on the agent space.preferencesWithStrings(Map<String, Boolean> preferences) The preferences to configure on the agent space.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.services.devopsagent.model.DevOpsAgentRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
agentSpaceId
The unique identifier of the AgentSpace
- Parameters:
agentSpaceId- The unique identifier of the AgentSpace- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The updated name of the AgentSpace.
- Parameters:
name- The updated name of the AgentSpace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The updated description of the AgentSpace.
- Parameters:
description- The updated description of the AgentSpace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
locale
The updated locale for the AgentSpace, which determines the language used in agent responses.
- Parameters:
locale- The updated locale for the AgentSpace, which determines the language used in agent responses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preferencesWithStrings
The preferences to configure on the agent space. When provided, this replaces the full set of configured preferences; preferences not included revert to their default values. When omitted, the current preferences are left unchanged.
- Parameters:
preferences- The preferences to configure on the agent space. When provided, this replaces the full set of configured preferences; preferences not included revert to their default values. When omitted, the current preferences are left unchanged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preferences
The preferences to configure on the agent space. When provided, this replaces the full set of configured preferences; preferences not included revert to their default values. When omitted, the current preferences are left unchanged.
- Parameters:
preferences- The preferences to configure on the agent space. When provided, this replaces the full set of configured preferences; preferences not included revert to their default values. When omitted, the current preferences are left unchanged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsSourceMode
Specifies whether the AgentSpace's Amazon Web Services source configuration targets an individual Amazon Web Services account or an Amazon Web Services Organization. Use this parameter to switch an existing AgentSpace between source modes.
- Parameters:
awsSourceMode- Specifies whether the AgentSpace's Amazon Web Services source configuration targets an individual Amazon Web Services account or an Amazon Web Services Organization. Use this parameter to switch an existing AgentSpace between source modes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
awsSourceMode
Specifies whether the AgentSpace's Amazon Web Services source configuration targets an individual Amazon Web Services account or an Amazon Web Services Organization. Use this parameter to switch an existing AgentSpace between source modes.
- Parameters:
awsSourceMode- Specifies whether the AgentSpace's Amazon Web Services source configuration targets an individual Amazon Web Services account or an Amazon Web Services Organization. Use this parameter to switch an existing AgentSpace between source modes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateAgentSpaceRequest.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
UpdateAgentSpaceRequest.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.
-