Interface UpdateStateMachineRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateStateMachineRequest.Builder,UpdateStateMachineRequest>,SdkBuilder<UpdateStateMachineRequest.Builder,UpdateStateMachineRequest>,SdkPojo,SdkRequest.Builder,SfnRequest.Builder
- Enclosing class:
- UpdateStateMachineRequest
public static interface UpdateStateMachineRequest.Builder extends SfnRequest.Builder, SdkPojo, CopyableBuilder<UpdateStateMachineRequest.Builder,UpdateStateMachineRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateStateMachineRequest.Builderdefinition(String definition)The Amazon States Language definition of the state machine.default UpdateStateMachineRequest.BuilderloggingConfiguration(Consumer<LoggingConfiguration.Builder> loggingConfiguration)Use theLoggingConfigurationdata type to set CloudWatch Logs options.UpdateStateMachineRequest.BuilderloggingConfiguration(LoggingConfiguration loggingConfiguration)Use theLoggingConfigurationdata type to set CloudWatch Logs options.UpdateStateMachineRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateStateMachineRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateStateMachineRequest.Builderpublish(Boolean publish)Specifies whether the state machine version is published.UpdateStateMachineRequest.BuilderroleArn(String roleArn)The Amazon Resource Name (ARN) of the IAM role of the state machine.UpdateStateMachineRequest.BuilderstateMachineArn(String stateMachineArn)The Amazon Resource Name (ARN) of the state machine.default UpdateStateMachineRequest.BuildertracingConfiguration(Consumer<TracingConfiguration.Builder> tracingConfiguration)Selects whether X-Ray tracing is enabled.UpdateStateMachineRequest.BuildertracingConfiguration(TracingConfiguration tracingConfiguration)Selects whether X-Ray tracing is enabled.UpdateStateMachineRequest.BuilderversionDescription(String versionDescription)An optional description of the state machine version to publish.-
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.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.sfn.model.SfnRequest.Builder
build
-
-
-
-
Method Detail
-
stateMachineArn
UpdateStateMachineRequest.Builder stateMachineArn(String stateMachineArn)
The Amazon Resource Name (ARN) of the state machine.
- Parameters:
stateMachineArn- The Amazon Resource Name (ARN) of the state machine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
UpdateStateMachineRequest.Builder definition(String definition)
The Amazon States Language definition of the state machine. See Amazon States Language.
- Parameters:
definition- The Amazon States Language definition of the state machine. See Amazon States Language.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
UpdateStateMachineRequest.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role of the state machine.
- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM role of the state machine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingConfiguration
UpdateStateMachineRequest.Builder loggingConfiguration(LoggingConfiguration loggingConfiguration)
Use the
LoggingConfigurationdata type to set CloudWatch Logs options.- Parameters:
loggingConfiguration- Use theLoggingConfigurationdata type to set CloudWatch Logs options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingConfiguration
default UpdateStateMachineRequest.Builder loggingConfiguration(Consumer<LoggingConfiguration.Builder> loggingConfiguration)
Use the
This is a convenience method that creates an instance of theLoggingConfigurationdata type to set CloudWatch Logs options.LoggingConfiguration.Builderavoiding the need to create one manually viaLoggingConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tologgingConfiguration(LoggingConfiguration).- Parameters:
loggingConfiguration- a consumer that will call methods onLoggingConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
loggingConfiguration(LoggingConfiguration)
-
tracingConfiguration
UpdateStateMachineRequest.Builder tracingConfiguration(TracingConfiguration tracingConfiguration)
Selects whether X-Ray tracing is enabled.
- Parameters:
tracingConfiguration- Selects whether X-Ray tracing is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tracingConfiguration
default UpdateStateMachineRequest.Builder tracingConfiguration(Consumer<TracingConfiguration.Builder> tracingConfiguration)
Selects whether X-Ray tracing is enabled.
This is a convenience method that creates an instance of theTracingConfiguration.Builderavoiding the need to create one manually viaTracingConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totracingConfiguration(TracingConfiguration).- Parameters:
tracingConfiguration- a consumer that will call methods onTracingConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
tracingConfiguration(TracingConfiguration)
-
publish
UpdateStateMachineRequest.Builder publish(Boolean publish)
Specifies whether the state machine version is published. The default is
false. To publish a version after updating the state machine, setpublishtotrue.- Parameters:
publish- Specifies whether the state machine version is published. The default isfalse. To publish a version after updating the state machine, setpublishtotrue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionDescription
UpdateStateMachineRequest.Builder versionDescription(String versionDescription)
An optional description of the state machine version to publish.
You can only specify the
versionDescriptionparameter if you've setpublishtotrue.- Parameters:
versionDescription- An optional description of the state machine version to publish.You can only specify the
versionDescriptionparameter if you've setpublishtotrue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateStateMachineRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateStateMachineRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-