Interface Space.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Space.Builder,Space>, SdkBuilder<Space.Builder,Space>, SdkPojo
Enclosing class:
Space

@Mutable @NotThreadSafe public static interface Space.Builder extends SdkPojo, CopyableBuilder<Space.Builder,Space>
  • Method Details

    • spaceId

      Space.Builder spaceId(String 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

      Space.Builder name(String 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

      Space.Builder spaceArn(String 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

      Space.Builder domainArn(String 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

      Space.Builder region(String 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

      Space.Builder ownerAccountId(String 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

      Space.Builder dataAccessRoleArn(String 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

      Space.Builder createdAt(Instant 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

      Space.Builder updatedAt(Instant 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

      Space.Builder agentCoreEvaluationRoleArn(String 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

      Space.Builder status(String 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

      Space.Builder status(SpaceStatus 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

      Space.Builder statusReason(String 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

      Space.Builder encryptionConfiguration(EncryptionConfiguration encryptionConfiguration)

      How the space's data at rest is encrypted. Always populated: a space with no customer managed key reports encryptionStrategy AWS_OWNED and no kmsKeyArn.

      Parameters:
      encryptionConfiguration - How the space's data at rest is encrypted. Always populated: a space with no customer managed key reports encryptionStrategy AWS_OWNED and no kmsKeyArn.
      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 encryptionStrategy AWS_OWNED and no kmsKeyArn.

      This is a convenience method that creates an instance of the EncryptionConfiguration.Builder avoiding the need to create one manually via EncryptionConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to encryptionConfiguration(EncryptionConfiguration).

      Parameters:
      encryptionConfiguration - a consumer that will call methods on EncryptionConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: