Interface GetSpaceResponse.Builder

  • Method Details

    • spaceId

      GetSpaceResponse.Builder spaceId(String spaceId)

      The ID of the space.

      Parameters:
      spaceId - The ID of the space.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      The Amazon Resource Name (ARN) of the space.

      Parameters:
      arn - The Amazon Resource Name (ARN) of the space.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the space.

      Parameters:
      name - The name of the space.
      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

      GetSpaceResponse.Builder statusReason(String statusReason)

      Details about why the space is FAILED. Read it only when status is FAILED: it can still hold the reason for an earlier failure.

      Parameters:
      statusReason - Details about why the space is FAILED. Read it only when status is FAILED: it can still hold the reason for an earlier failure.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      GetSpaceResponse.Builder createdAt(Instant createdAt)

      When the space was created.

      Parameters:
      createdAt - When the space was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • memoryStrategies

      GetSpaceResponse.Builder memoryStrategies(Collection<MemoryStrategy> memoryStrategies)

      The space's memory strategies, including the names the service generated for strategies created without one. Empty for a space that has no memory strategies.

      Parameters:
      memoryStrategies - The space's memory strategies, including the names the service generated for strategies created without one. Empty for a space that has no memory strategies.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • memoryStrategies

      GetSpaceResponse.Builder memoryStrategies(MemoryStrategy... memoryStrategies)

      The space's memory strategies, including the names the service generated for strategies created without one. Empty for a space that has no memory strategies.

      Parameters:
      memoryStrategies - The space's memory strategies, including the names the service generated for strategies created without one. Empty for a space that has no memory strategies.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • memoryStrategies

      GetSpaceResponse.Builder memoryStrategies(Consumer<MemoryStrategy.Builder>... memoryStrategies)

      The space's memory strategies, including the names the service generated for strategies created without one. Empty for a space that has no memory strategies.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to memoryStrategies(List<MemoryStrategy>).

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

      GetSpaceResponse.Builder eventExpiryDays(Integer eventExpiryDays)

      How many days the space keeps each event. Absent when it was never set, in which case the default of 90 days applies.

      Parameters:
      eventExpiryDays - How many days the space keeps each event. Absent when it was never set, in which case the default of 90 days applies.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • memoryExpiryDays

      GetSpaceResponse.Builder memoryExpiryDays(Integer memoryExpiryDays)

      How many days the space keeps each memory. 0 means memories never expire. Absent when it was never set, in which case memories never expire.

      Parameters:
      memoryExpiryDays - How many days the space keeps each memory. 0 means memories never expire. Absent when it was never set, in which case memories never expire.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • extractionModelId

      GetSpaceResponse.Builder extractionModelId(String extractionModelId)

      The model that extracts and consolidates memories for the space. Absent when it was never set, in which case the service default applies.

      Parameters:
      extractionModelId - The model that extracts and consolidates memories for the space. Absent when it was never set, in which case the service default applies.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • encryptionConfiguration

      GetSpaceResponse.Builder encryptionConfiguration(EncryptionConfiguration encryptionConfiguration)

      The AWS KMS key the space was created with. Absent when the space uses an AWS owned key.

      Parameters:
      encryptionConfiguration - The AWS KMS key the space was created with. Absent when the space uses an AWS owned key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • encryptionConfiguration

      default GetSpaceResponse.Builder encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration)

      The AWS KMS key the space was created with. Absent when the space uses an AWS owned key.

      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: