Interface CreateSpaceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudWatchOmniRequest.Builder,CopyableBuilder<CreateSpaceRequest.Builder,,CreateSpaceRequest> SdkBuilder<CreateSpaceRequest.Builder,,CreateSpaceRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateSpaceRequest
-
Method Summary
Modifier and TypeMethodDescriptionagentCoreEvaluationRoleArn(String agentCoreEvaluationRoleArn) The ARN of the IAM role used by AgentCore online evaluation.clientToken(String clientToken) Idempotency token for safe retries.dataAccessRoleArn(String dataAccessRoleArn) The ARN of the IAM role used for data access.The ID of the domain to create the space in.default CreateSpaceRequest.BuilderencryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) How to encrypt the space's data at rest.encryptionConfiguration(EncryptionConfiguration encryptionConfiguration) How to encrypt the space's data at rest.A name that identifies the space.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The tags to associate with the space.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudwatchomni.model.CloudWatchOmniRequest.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
-
name
A name that identifies the space. Must be 3-64 characters: lowercase letters, numbers, and hyphens. It must begin and end with a letter or number and cannot contain consecutive hyphens.
- Parameters:
name- A name that identifies the space. Must be 3-64 characters: lowercase letters, numbers, and hyphens. It must begin and end with a letter or number and cannot contain consecutive hyphens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainId
The ID of the domain to create the space in.
- Parameters:
domainId- The ID of the domain to create the space in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataAccessRoleArn
The ARN of the IAM role used for data access. The role must be in the caller's account.
- Parameters:
dataAccessRoleArn- The ARN of the IAM role used for data access. The role must be in the caller's account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentCoreEvaluationRoleArn
The ARN of the IAM role used by AgentCore online evaluation. Must be in the caller's account. Omit if the space does not use AgentCore online evaluation.
- Parameters:
agentCoreEvaluationRoleArn- The ARN of the IAM role used by AgentCore online evaluation. Must be in the caller's account. Omit if the space does not use AgentCore online evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
How to encrypt the space's data at rest. Omit for service owned encryption, which is equivalent to passing
encryptionStrategyAWS_OWNED.- Parameters:
encryptionConfiguration- How to encrypt the space's data at rest. Omit for service owned encryption, which is equivalent to passingencryptionStrategyAWS_OWNED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
default CreateSpaceRequest.Builder encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) How to encrypt the space's data at rest. Omit for service owned encryption, which is equivalent to passing
This is a convenience method that creates an instance of theencryptionStrategyAWS_OWNED.EncryptionConfiguration.Builderavoiding the need to create one manually viaEncryptionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toencryptionConfiguration(EncryptionConfiguration).- Parameters:
encryptionConfiguration- a consumer that will call methods onEncryptionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags to associate with the space.
- Parameters:
tags- The tags to associate with the space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
Idempotency token for safe retries. Repeated requests with the same token return the original result instead of creating a duplicate.
- Parameters:
clientToken- Idempotency token for safe retries. Repeated requests with the same token return the original result instead of creating a duplicate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateSpaceRequest.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
CreateSpaceRequest.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.
-