Interface GetSpaceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetSpaceResponse.Builder,,GetSpaceResponse> OpenSearchMemoryResponse.Builder,SdkBuilder<GetSpaceResponse.Builder,,GetSpaceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetSpaceResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the space.When the space was created.default GetSpaceResponse.BuilderencryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) The AWS KMS key the space was created with.encryptionConfiguration(EncryptionConfiguration encryptionConfiguration) The AWS KMS key the space was created with.eventExpiryDays(Integer eventExpiryDays) How many days the space keeps each event.extractionModelId(String extractionModelId) The model that extracts and consolidates memories for the space.memoryExpiryDays(Integer memoryExpiryDays) How many days the space keeps each memory.memoryStrategies(Collection<MemoryStrategy> memoryStrategies) The space's memory strategies, including the names the service generated for strategies created without one.memoryStrategies(Consumer<MemoryStrategy.Builder>... memoryStrategies) The space's memory strategies, including the names the service generated for strategies created without one.memoryStrategies(MemoryStrategy... memoryStrategies) The space's memory strategies, including the names the service generated for strategies created without one.The name of the space.The ID of the space.The status of the space.status(SpaceStatus status) The status of the space.statusReason(String statusReason) Details about why the space isFAILED.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.opensearchmemory.model.OpenSearchMemoryResponse.Builder
build, responseMetadata, responseMetadataMethods 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.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
Details about why the space is
FAILED. Read it only whenstatusisFAILED: it can still hold the reason for an earlier failure.- Parameters:
statusReason- Details about why the space isFAILED. Read it only whenstatusisFAILED: 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
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
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
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
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 theMemoryStrategy.Builderavoiding the need to create one manually viaMemoryStrategy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomemoryStrategies(List<MemoryStrategy>).- Parameters:
memoryStrategies- a consumer that will call methods onMemoryStrategy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
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 theEncryptionConfiguration.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:
-