Interface CreateAgenticPersonaConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateAgenticPersonaConfigurationRequest.Builder,,CreateAgenticPersonaConfigurationRequest> SdkBuilder<CreateAgenticPersonaConfigurationRequest.Builder,,CreateAgenticPersonaConfigurationRequest> SdkPojo,SdkRequest.Builder,WorkSpacesRequest.Builder
- Enclosing class:
CreateAgenticPersonaConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionagentEnforcedPolicyId(String agentEnforcedPolicyId) The identifier of the agent-enforced policy to apply to WorkSpaces created with this configuration.agenticConnectorIds(String... agenticConnectorIds) The identifiers of the connectors to add to WorkSpaces created with this configuration.agenticConnectorIds(Collection<String> agenticConnectorIds) The identifiers of the connectors to add to WorkSpaces created with this configuration.agenticContextIds(String... agenticContextIds) The identifiers of the contexts to add to WorkSpaces created with this configuration.agenticContextIds(Collection<String> agenticContextIds) The identifiers of the contexts to add to WorkSpaces created with this configuration.clientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time.description(String description) The description of the persona configuration.The identifiers of the models that WorkSpaces created with this configuration can use.modelIds(Collection<String> modelIds) The identifiers of the models that WorkSpaces created with this configuration can use.The name of the persona configuration.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags(Collection<Tag> tags) The tags to add to the persona configuration.tags(Consumer<Tag.Builder>... tags) The tags to add to the persona configuration.The tags to add to the persona configuration.workspaceEnforcedPolicyId(String workspaceEnforcedPolicyId) The identifier of the WorkSpace-enforced policy to apply to WorkSpaces created with this configuration.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.workspaces.model.WorkSpacesRequest.Builder
build
-
Method Details
-
clientToken
A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If this token matches a previous request with the same parameters, the service returns the result of that request and doesn't create another persona configuration.
If you reuse the token with different parameters, the operation returns
ValidationException. If you deleted the persona configuration created with this token, the operation returnsResourceNotFoundException.- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If this token matches a previous request with the same parameters, the service returns the result of that request and doesn't create another persona configuration.If you reuse the token with different parameters, the operation returns
ValidationException. If you deleted the persona configuration created with this token, the operation returnsResourceNotFoundException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the persona configuration.
- Parameters:
name- The name of the persona configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the persona configuration.
- Parameters:
description- The description of the persona configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelIds
The identifiers of the models that WorkSpaces created with this configuration can use. Specify 1–25 models. The models must be on your account's model list.
- Parameters:
modelIds- The identifiers of the models that WorkSpaces created with this configuration can use. Specify 1–25 models. The models must be on your account's model list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelIds
The identifiers of the models that WorkSpaces created with this configuration can use. Specify 1–25 models. The models must be on your account's model list.
- Parameters:
modelIds- The identifiers of the models that WorkSpaces created with this configuration can use. Specify 1–25 models. The models must be on your account's model list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agenticConnectorIds
CreateAgenticPersonaConfigurationRequest.Builder agenticConnectorIds(Collection<String> agenticConnectorIds) The identifiers of the connectors to add to WorkSpaces created with this configuration. The connectors must be activated for your account.
- Parameters:
agenticConnectorIds- The identifiers of the connectors to add to WorkSpaces created with this configuration. The connectors must be activated for your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agenticConnectorIds
The identifiers of the connectors to add to WorkSpaces created with this configuration. The connectors must be activated for your account.
- Parameters:
agenticConnectorIds- The identifiers of the connectors to add to WorkSpaces created with this configuration. The connectors must be activated for your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agenticContextIds
CreateAgenticPersonaConfigurationRequest.Builder agenticContextIds(Collection<String> agenticContextIds) The identifiers of the contexts to add to WorkSpaces created with this configuration.
- Parameters:
agenticContextIds- The identifiers of the contexts to add to WorkSpaces created with this configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agenticContextIds
The identifiers of the contexts to add to WorkSpaces created with this configuration.
- Parameters:
agenticContextIds- The identifiers of the contexts to add to WorkSpaces created with this configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspaceEnforcedPolicyId
CreateAgenticPersonaConfigurationRequest.Builder workspaceEnforcedPolicyId(String workspaceEnforcedPolicyId) The identifier of the WorkSpace-enforced policy to apply to WorkSpaces created with this configuration.
- Parameters:
workspaceEnforcedPolicyId- The identifier of the WorkSpace-enforced policy to apply to WorkSpaces created with this configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentEnforcedPolicyId
CreateAgenticPersonaConfigurationRequest.Builder agentEnforcedPolicyId(String agentEnforcedPolicyId) The identifier of the agent-enforced policy to apply to WorkSpaces created with this configuration.
- Parameters:
agentEnforcedPolicyId- The identifier of the agent-enforced policy to apply to WorkSpaces created with this configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to add to the persona configuration.
- Parameters:
tags- The tags to add to the persona configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to add to the persona configuration.
- Parameters:
tags- The tags to add to the persona configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to add to the persona configuration.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateAgenticPersonaConfigurationRequest.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
CreateAgenticPersonaConfigurationRequest.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.
-