Interface HarnessAgentCoreRuntimeEnvironmentRequest.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HarnessAgentCoreRuntimeEnvironmentRequest.Builder,,HarnessAgentCoreRuntimeEnvironmentRequest> SdkBuilder<HarnessAgentCoreRuntimeEnvironmentRequest.Builder,,HarnessAgentCoreRuntimeEnvironmentRequest> SdkPojo
- Enclosing class:
HarnessAgentCoreRuntimeEnvironmentRequest
@Mutable
@NotThreadSafe
public static interface HarnessAgentCoreRuntimeEnvironmentRequest.Builder
extends SdkPojo, CopyableBuilder<HarnessAgentCoreRuntimeEnvironmentRequest.Builder,HarnessAgentCoreRuntimeEnvironmentRequest>
-
Method Summary
Modifier and TypeMethodDescriptionfilesystemConfigurations(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
-
lifecycleConfiguration
HarnessAgentCoreRuntimeEnvironmentRequest.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 HarnessAgentCoreRuntimeEnvironmentRequest.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
HarnessAgentCoreRuntimeEnvironmentRequest.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 HarnessAgentCoreRuntimeEnvironmentRequest.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
HarnessAgentCoreRuntimeEnvironmentRequest.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
HarnessAgentCoreRuntimeEnvironmentRequest.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
HarnessAgentCoreRuntimeEnvironmentRequest.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:
-