Interface HarnessAgentCoreRuntimeEnvironment.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HarnessAgentCoreRuntimeEnvironment.Builder,,HarnessAgentCoreRuntimeEnvironment> SdkBuilder<HarnessAgentCoreRuntimeEnvironment.Builder,,HarnessAgentCoreRuntimeEnvironment> SdkPojo
- Enclosing class:
HarnessAgentCoreRuntimeEnvironment
-
Method Summary
Modifier and TypeMethodDescriptionagentRuntimeArn(String agentRuntimeArn) The ARN of the underlying AgentCore Runtime.agentRuntimeId(String agentRuntimeId) The ID of the underlying AgentCore Runtime.agentRuntimeName(String agentRuntimeName) The name of the underlying AgentCore Runtime.filesystemConfigurations(Collection<FilesystemConfiguration> filesystemConfigurations) The filesystem configurations for the runtime environment.filesystemConfigurations(Consumer<FilesystemConfiguration.Builder>... filesystemConfigurations) The filesystem configurations for the runtime environment.filesystemConfigurations(FilesystemConfiguration... filesystemConfigurations) The filesystem configurations for the runtime environment.lifecycleConfiguration(Consumer<LifecycleConfiguration.Builder> lifecycleConfiguration) Sets the value of the LifecycleConfiguration property for this object.lifecycleConfiguration(LifecycleConfiguration lifecycleConfiguration) Sets the value of the LifecycleConfiguration property for this object.networkConfiguration(Consumer<NetworkConfiguration.Builder> networkConfiguration) Sets the value of the NetworkConfiguration property for this object.networkConfiguration(NetworkConfiguration networkConfiguration) Sets the value of the NetworkConfiguration property for this object.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
-
agentRuntimeArn
The ARN of the underlying AgentCore Runtime.
- Parameters:
agentRuntimeArn- The ARN of the underlying AgentCore Runtime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentRuntimeName
The name of the underlying AgentCore Runtime.
- Parameters:
agentRuntimeName- The name of the underlying AgentCore Runtime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentRuntimeId
The ID of the underlying AgentCore Runtime.
- Parameters:
agentRuntimeId- The ID of the underlying AgentCore Runtime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycleConfiguration
HarnessAgentCoreRuntimeEnvironment.Builder lifecycleConfiguration(LifecycleConfiguration lifecycleConfiguration) Sets the value of the LifecycleConfiguration property for this object.- Parameters:
lifecycleConfiguration- The new value for the LifecycleConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycleConfiguration
default HarnessAgentCoreRuntimeEnvironment.Builder lifecycleConfiguration(Consumer<LifecycleConfiguration.Builder> lifecycleConfiguration) Sets the value of the LifecycleConfiguration property for this object. This is a convenience method that creates an instance of theLifecycleConfiguration.Builderavoiding the need to create one manually viaLifecycleConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolifecycleConfiguration(LifecycleConfiguration).- Parameters:
lifecycleConfiguration- a consumer that will call methods onLifecycleConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
networkConfiguration
HarnessAgentCoreRuntimeEnvironment.Builder networkConfiguration(NetworkConfiguration networkConfiguration) Sets the value of the NetworkConfiguration property for this object.- Parameters:
networkConfiguration- The new value for the NetworkConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkConfiguration
default HarnessAgentCoreRuntimeEnvironment.Builder networkConfiguration(Consumer<NetworkConfiguration.Builder> networkConfiguration) Sets the value of the NetworkConfiguration property for this object. This is a convenience method that creates an instance of theNetworkConfiguration.Builderavoiding the need to create one manually viaNetworkConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonetworkConfiguration(NetworkConfiguration).- Parameters:
networkConfiguration- a consumer that will call methods onNetworkConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
filesystemConfigurations
HarnessAgentCoreRuntimeEnvironment.Builder filesystemConfigurations(Collection<FilesystemConfiguration> filesystemConfigurations) The filesystem configurations for the runtime environment.
- Parameters:
filesystemConfigurations- The filesystem configurations for the runtime environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filesystemConfigurations
HarnessAgentCoreRuntimeEnvironment.Builder filesystemConfigurations(FilesystemConfiguration... filesystemConfigurations) The filesystem configurations for the runtime environment.
- Parameters:
filesystemConfigurations- The filesystem configurations for the runtime environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filesystemConfigurations
HarnessAgentCoreRuntimeEnvironment.Builder filesystemConfigurations(Consumer<FilesystemConfiguration.Builder>... filesystemConfigurations) The filesystem configurations for the runtime environment.
This is a convenience method that creates an instance of theFilesystemConfiguration.Builderavoiding the need to create one manually viaFilesystemConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilesystemConfigurations(List<FilesystemConfiguration>).- Parameters:
filesystemConfigurations- a consumer that will call methods onFilesystemConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-