Interface UpdateKxClusterCodeConfigurationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateKxClusterCodeConfigurationRequest.Builder,UpdateKxClusterCodeConfigurationRequest>,FinspaceRequest.Builder,SdkBuilder<UpdateKxClusterCodeConfigurationRequest.Builder,UpdateKxClusterCodeConfigurationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateKxClusterCodeConfigurationRequest
public static interface UpdateKxClusterCodeConfigurationRequest.Builder extends FinspaceRequest.Builder, SdkPojo, CopyableBuilder<UpdateKxClusterCodeConfigurationRequest.Builder,UpdateKxClusterCodeConfigurationRequest>
-
-
Method Summary
-
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 Detail
-
environmentId
UpdateKxClusterCodeConfigurationRequest.Builder environmentId(String 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
UpdateKxClusterCodeConfigurationRequest.Builder clusterName(String 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
UpdateKxClusterCodeConfigurationRequest.Builder clientToken(String 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
UpdateKxClusterCodeConfigurationRequest.Builder code(CodeConfiguration 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.Builderavoiding the need to create one manually viaCodeConfiguration.builder().When the
Consumercompletes,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:
code(CodeConfiguration)
-
initializationScript
UpdateKxClusterCodeConfigurationRequest.Builder initializationScript(String 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_RESTARTdeployment.- 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_RESTARTdeployment.- 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_RESTARTdeployment.- Parameters:
commandLineArguments- Specifies the key-value pairs to make them available inside the cluster.You cannot update this parameter for a
NO_RESTARTdeployment.- 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_RESTARTdeployment.- Parameters:
commandLineArguments- Specifies the key-value pairs to make them available inside the cluster.You cannot update this parameter for a
NO_RESTARTdeployment.- 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_RESTARTdeployment.KxCommandLineArgument.Builderavoiding the need to create one manually viaKxCommandLineArgument.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#commandLineArguments(List.) - 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:
#commandLineArguments(java.util.Collection)
-
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.Builderavoiding the need to create one manually viaKxClusterCodeDeploymentConfiguration.builder().When the
Consumercompletes,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:
deploymentConfiguration(KxClusterCodeDeploymentConfiguration)
-
overrideConfiguration
UpdateKxClusterCodeConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateKxClusterCodeConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-