Class StateMachineState.Builder

  • Enclosing class:
    StateMachineState

    public static final class StateMachineState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • arn

        public StateMachineState.Builder arn​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - The ARN of the state machine.
        Returns:
        builder
      • arn

        public StateMachineState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - The ARN of the state machine.
        Returns:
        builder
      • creationDate

        public StateMachineState.Builder creationDate​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> creationDate)
        Parameters:
        creationDate - The date the state machine was created.
        Returns:
        builder
      • creationDate

        public StateMachineState.Builder creationDate​(java.lang.String creationDate)
        Parameters:
        creationDate - The date the state machine was created.
        Returns:
        builder
      • definition

        public StateMachineState.Builder definition​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> definition)
        Parameters:
        definition - The [Amazon States Language](https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html) definition of the state machine.
        Returns:
        builder
      • definition

        public StateMachineState.Builder definition​(java.lang.String definition)
        Parameters:
        definition - The [Amazon States Language](https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html) definition of the state machine.
        Returns:
        builder
      • description

        public StateMachineState.Builder description​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> description)
      • loggingConfiguration

        public StateMachineState.Builder loggingConfiguration​(@Nullable
                                                              com.pulumi.core.Output<StateMachineLoggingConfigurationArgs> loggingConfiguration)
        Parameters:
        loggingConfiguration - Defines what execution history events are logged and where they are logged. The `logging_configuration` parameter is only valid when `type` is set to `EXPRESS`. Defaults to `OFF`. For more information see [Logging Express Workflows](https://docs.aws.amazon.com/step-functions/latest/dg/cw-logs.html) and [Log Levels](https://docs.aws.amazon.com/step-functions/latest/dg/cloudwatch-log-level.html) in the AWS Step Functions User Guide.
        Returns:
        builder
      • loggingConfiguration

        public StateMachineState.Builder loggingConfiguration​(StateMachineLoggingConfigurationArgs loggingConfiguration)
        Parameters:
        loggingConfiguration - Defines what execution history events are logged and where they are logged. The `logging_configuration` parameter is only valid when `type` is set to `EXPRESS`. Defaults to `OFF`. For more information see [Logging Express Workflows](https://docs.aws.amazon.com/step-functions/latest/dg/cw-logs.html) and [Log Levels](https://docs.aws.amazon.com/step-functions/latest/dg/cloudwatch-log-level.html) in the AWS Step Functions User Guide.
        Returns:
        builder
      • name

        public StateMachineState.Builder name​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name of the state machine. The name should only contain `0`-`9`, `A`-`Z`, `a`-`z`, `-` and `_`. If omitted, the provider will assign a random, unique name.
        Returns:
        builder
      • name

        public StateMachineState.Builder name​(java.lang.String name)
        Parameters:
        name - The name of the state machine. The name should only contain `0`-`9`, `A`-`Z`, `a`-`z`, `-` and `_`. If omitted, the provider will assign a random, unique name.
        Returns:
        builder
      • namePrefix

        public StateMachineState.Builder namePrefix​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> namePrefix)
        Parameters:
        namePrefix - Creates a unique name beginning with the specified prefix. Conflicts with `name`.
        Returns:
        builder
      • namePrefix

        public StateMachineState.Builder namePrefix​(java.lang.String namePrefix)
        Parameters:
        namePrefix - Creates a unique name beginning with the specified prefix. Conflicts with `name`.
        Returns:
        builder
      • publish

        public StateMachineState.Builder publish​(@Nullable
                                                 com.pulumi.core.Output<java.lang.Boolean> publish)
        Parameters:
        publish - Set to true to publish a version of the state machine during creation. Default: false.
        Returns:
        builder
      • publish

        public StateMachineState.Builder publish​(java.lang.Boolean publish)
        Parameters:
        publish - Set to true to publish a version of the state machine during creation. Default: false.
        Returns:
        builder
      • revisionId

        public StateMachineState.Builder revisionId​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> revisionId)
      • roleArn

        public StateMachineState.Builder roleArn​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> roleArn)
        Parameters:
        roleArn - The Amazon Resource Name (ARN) of the IAM role to use for this state machine.
        Returns:
        builder
      • roleArn

        public StateMachineState.Builder roleArn​(java.lang.String roleArn)
        Parameters:
        roleArn - The Amazon Resource Name (ARN) of the IAM role to use for this state machine.
        Returns:
        builder
      • stateMachineVersionArn

        public StateMachineState.Builder stateMachineVersionArn​(@Nullable
                                                                com.pulumi.core.Output<java.lang.String> stateMachineVersionArn)
      • stateMachineVersionArn

        public StateMachineState.Builder stateMachineVersionArn​(java.lang.String stateMachineVersionArn)
      • status

        public StateMachineState.Builder status​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> status)
        Parameters:
        status - The current status of the state machine. Either `ACTIVE` or `DELETING`.
        Returns:
        builder
      • status

        public StateMachineState.Builder status​(java.lang.String status)
        Parameters:
        status - The current status of the state machine. Either `ACTIVE` or `DELETING`.
        Returns:
        builder
      • tags

        public StateMachineState.Builder tags​(@Nullable
                                              com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Key-value map of resource tags. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public StateMachineState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Key-value map of resource tags. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

        @Deprecated
        public StateMachineState.Builder tagsAll​(@Nullable
                                                 com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder
      • tagsAll

        @Deprecated
        public StateMachineState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder
      • type

        public StateMachineState.Builder type​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> type)
        Parameters:
        type - Determines whether a Standard or Express state machine is created. The default is `STANDARD`. You cannot update the type of a state machine once it has been created. Valid values: `STANDARD`, `EXPRESS`.
        Returns:
        builder
      • type

        public StateMachineState.Builder type​(java.lang.String type)
        Parameters:
        type - Determines whether a Standard or Express state machine is created. The default is `STANDARD`. You cannot update the type of a state machine once it has been created. Valid values: `STANDARD`, `EXPRESS`.
        Returns:
        builder
      • versionDescription

        public StateMachineState.Builder versionDescription​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> versionDescription)