Interface Space.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Space.Builder,,Space> SdkBuilder<Space.Builder,,Space> SdkPojo
- Enclosing class:
Space
-
Method Summary
Modifier and TypeMethodDescriptionagentCoreEvaluationRoleArn(String agentCoreEvaluationRoleArn) The ARN of the IAM role used by AgentCore online evaluation.The timestamp when the space was created.dataAccessRoleArn(String dataAccessRoleArn) The ARN of the IAM role used for data access.The Amazon Resource Name (ARN) of the domain the space belongs to.default Space.BuilderencryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) How the space's data at rest is encrypted.encryptionConfiguration(EncryptionConfiguration encryptionConfiguration) How the space's data at rest is encrypted.A name that identifies the space.ownerAccountId(String ownerAccountId) AWS account ID that owns this space.The region where this space was created.The Amazon Resource Name (ARN) of the space.The unique ID of the space.The status of the space.status(SpaceStatus status) The status of the space.statusReason(String statusReason) Reason for the current space status.The timestamp when the space was last updated.Methods 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
-
spaceId
The unique ID of the space.
- Parameters:
spaceId- The unique ID of the space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
A name that identifies the space.
- Parameters:
name- A name that identifies the space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spaceArn
The Amazon Resource Name (ARN) of the space.
- Parameters:
spaceArn- The Amazon Resource Name (ARN) of the space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainArn
The Amazon Resource Name (ARN) of the domain the space belongs to. Absent when the space is not associated with a domain, so callers must tolerate its absence.
- Parameters:
domainArn- The Amazon Resource Name (ARN) of the domain the space belongs to. Absent when the space is not associated with a domain, so callers must tolerate its absence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
region
The region where this space was created.
- Parameters:
region- The region where this space was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerAccountId
AWS account ID that owns this space.
- Parameters:
ownerAccountId- AWS account ID that owns this space.- 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.
- Parameters:
dataAccessRoleArn- The ARN of the IAM role used for data access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The timestamp when the space was created.
- Parameters:
createdAt- The timestamp when the space was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The timestamp when the space was last updated.
- Parameters:
updatedAt- The timestamp when the space was last updated.- 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. Absent when the space was created without one.
- Parameters:
agentCoreEvaluationRoleArn- The ARN of the IAM role used by AgentCore online evaluation. Absent when the space was created without one.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the space.
- Parameters:
status- The status of the space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the space.
- Parameters:
status- The status of the space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusReason
Reason for the current space status.
- Parameters:
statusReason- Reason for the current space status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
How the space's data at rest is encrypted. Always populated: a space with no customer managed key reports
encryptionStrategyAWS_OWNED and nokmsKeyArn.- Parameters:
encryptionConfiguration- How the space's data at rest is encrypted. Always populated: a space with no customer managed key reportsencryptionStrategyAWS_OWNED and nokmsKeyArn.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
default Space.Builder encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) How the space's data at rest is encrypted. Always populated: a space with no customer managed key reports
This is a convenience method that creates an instance of theencryptionStrategyAWS_OWNED and nokmsKeyArn.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:
-