Interface UpdateKxClusterCodeConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateKxClusterCodeConfigurationRequest.Builder,
,UpdateKxClusterCodeConfigurationRequest> FinspaceRequest.Builder
,SdkBuilder<UpdateKxClusterCodeConfigurationRequest.Builder,
,UpdateKxClusterCodeConfigurationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateKxClusterCodeConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) A token that ensures idempotency.clusterName
(String clusterName) The name of the cluster.Sets the value of the Code property for this object.code
(CodeConfiguration code) Sets the value of the Code property for this object.commandLineArguments
(Collection<KxCommandLineArgument> commandLineArguments) Specifies the key-value pairs to make them available inside the cluster.commandLineArguments
(Consumer<KxCommandLineArgument.Builder>... commandLineArguments) Specifies the key-value pairs to make them available inside the cluster.commandLineArguments
(KxCommandLineArgument... commandLineArguments) Specifies the key-value pairs to make them available inside the cluster.deploymentConfiguration
(Consumer<KxClusterCodeDeploymentConfiguration.Builder> deploymentConfiguration) The configuration that allows you to choose how you want to update the code on a cluster.deploymentConfiguration
(KxClusterCodeDeploymentConfiguration deploymentConfiguration) The configuration that allows you to choose how you want to update the code on a cluster.environmentId
(String environmentId) A unique identifier of the kdb environment.initializationScript
(String initializationScript) Specifies a Q program that will be run at launch of a cluster.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.finspace.model.FinspaceRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
environmentId
A unique identifier of the kdb environment.
- Parameters:
environmentId
- A unique identifier of the kdb environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterName
The name of the cluster.
- Parameters:
clusterName
- The name of the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A token that ensures idempotency. This token expires in 10 minutes.
- Parameters:
clientToken
- A token that ensures idempotency. This token expires in 10 minutes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
code
Sets the value of the Code property for this object.- Parameters:
code
- The new value for the Code property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
code
default UpdateKxClusterCodeConfigurationRequest.Builder code(Consumer<CodeConfiguration.Builder> code) Sets the value of the Code property for this object. This is a convenience method that creates an instance of theCodeConfiguration.Builder
avoiding the need to create one manually viaCodeConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocode(CodeConfiguration)
.- Parameters:
code
- a consumer that will call methods onCodeConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
initializationScript
Specifies a Q program that will be run at launch of a cluster. It is a relative path within .zip file that contains the custom code, which will be loaded on the cluster. It must include the file name itself. For example,
somedir/init.q
.You cannot update this parameter for a
NO_RESTART
deployment.- Parameters:
initializationScript
- Specifies a Q program that will be run at launch of a cluster. It is a relative path within .zip file that contains the custom code, which will be loaded on the cluster. It must include the file name itself. For example,somedir/init.q
.You cannot update this parameter for a
NO_RESTART
deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commandLineArguments
UpdateKxClusterCodeConfigurationRequest.Builder commandLineArguments(Collection<KxCommandLineArgument> commandLineArguments) Specifies the key-value pairs to make them available inside the cluster.
You cannot update this parameter for a
NO_RESTART
deployment.- Parameters:
commandLineArguments
- Specifies the key-value pairs to make them available inside the cluster.You cannot update this parameter for a
NO_RESTART
deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commandLineArguments
UpdateKxClusterCodeConfigurationRequest.Builder commandLineArguments(KxCommandLineArgument... commandLineArguments) Specifies the key-value pairs to make them available inside the cluster.
You cannot update this parameter for a
NO_RESTART
deployment.- Parameters:
commandLineArguments
- Specifies the key-value pairs to make them available inside the cluster.You cannot update this parameter for a
NO_RESTART
deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commandLineArguments
UpdateKxClusterCodeConfigurationRequest.Builder commandLineArguments(Consumer<KxCommandLineArgument.Builder>... commandLineArguments) Specifies the key-value pairs to make them available inside the cluster.
You cannot update this parameter for a
This is a convenience method that creates an instance of theNO_RESTART
deployment.KxCommandLineArgument.Builder
avoiding the need to create one manually viaKxCommandLineArgument.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocommandLineArguments(List<KxCommandLineArgument>)
.- Parameters:
commandLineArguments
- a consumer that will call methods onKxCommandLineArgument.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deploymentConfiguration
UpdateKxClusterCodeConfigurationRequest.Builder deploymentConfiguration(KxClusterCodeDeploymentConfiguration deploymentConfiguration) The configuration that allows you to choose how you want to update the code on a cluster.
- Parameters:
deploymentConfiguration
- The configuration that allows you to choose how you want to update the code on a cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentConfiguration
default UpdateKxClusterCodeConfigurationRequest.Builder deploymentConfiguration(Consumer<KxClusterCodeDeploymentConfiguration.Builder> deploymentConfiguration) The configuration that allows you to choose how you want to update the code on a cluster.
This is a convenience method that creates an instance of theKxClusterCodeDeploymentConfiguration.Builder
avoiding the need to create one manually viaKxClusterCodeDeploymentConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeploymentConfiguration(KxClusterCodeDeploymentConfiguration)
.- Parameters:
deploymentConfiguration
- a consumer that will call methods onKxClusterCodeDeploymentConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateKxClusterCodeConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateKxClusterCodeConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-