All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.sfn.outputs.GetStateMachineResult Maven / Gradle / Ivy

// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.aws.sfn.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class GetStateMachineResult {
    /**
     * @return Set to the arn of the state function.
     * 
     */
    private String arn;
    /**
     * @return Date the state machine was created.
     * 
     */
    private String creationDate;
    /**
     * @return Set to the state machine definition.
     * 
     */
    private String definition;
    private String description;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    private String name;
    /**
     * @return The revision identifier for the state machine.
     * 
     */
    private String revisionId;
    /**
     * @return Set to the role_arn used by the state function.
     * 
     */
    private String roleArn;
    /**
     * @return Set to the current status of the state machine.
     * 
     */
    private String status;

    private GetStateMachineResult() {}
    /**
     * @return Set to the arn of the state function.
     * 
     */
    public String arn() {
        return this.arn;
    }
    /**
     * @return Date the state machine was created.
     * 
     */
    public String creationDate() {
        return this.creationDate;
    }
    /**
     * @return Set to the state machine definition.
     * 
     */
    public String definition() {
        return this.definition;
    }
    public String description() {
        return this.description;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    public String name() {
        return this.name;
    }
    /**
     * @return The revision identifier for the state machine.
     * 
     */
    public String revisionId() {
        return this.revisionId;
    }
    /**
     * @return Set to the role_arn used by the state function.
     * 
     */
    public String roleArn() {
        return this.roleArn;
    }
    /**
     * @return Set to the current status of the state machine.
     * 
     */
    public String status() {
        return this.status;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(GetStateMachineResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String arn;
        private String creationDate;
        private String definition;
        private String description;
        private String id;
        private String name;
        private String revisionId;
        private String roleArn;
        private String status;
        public Builder() {}
        public Builder(GetStateMachineResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.arn = defaults.arn;
    	      this.creationDate = defaults.creationDate;
    	      this.definition = defaults.definition;
    	      this.description = defaults.description;
    	      this.id = defaults.id;
    	      this.name = defaults.name;
    	      this.revisionId = defaults.revisionId;
    	      this.roleArn = defaults.roleArn;
    	      this.status = defaults.status;
        }

        @CustomType.Setter
        public Builder arn(String arn) {
            if (arn == null) {
              throw new MissingRequiredPropertyException("GetStateMachineResult", "arn");
            }
            this.arn = arn;
            return this;
        }
        @CustomType.Setter
        public Builder creationDate(String creationDate) {
            if (creationDate == null) {
              throw new MissingRequiredPropertyException("GetStateMachineResult", "creationDate");
            }
            this.creationDate = creationDate;
            return this;
        }
        @CustomType.Setter
        public Builder definition(String definition) {
            if (definition == null) {
              throw new MissingRequiredPropertyException("GetStateMachineResult", "definition");
            }
            this.definition = definition;
            return this;
        }
        @CustomType.Setter
        public Builder description(String description) {
            if (description == null) {
              throw new MissingRequiredPropertyException("GetStateMachineResult", "description");
            }
            this.description = description;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetStateMachineResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetStateMachineResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder revisionId(String revisionId) {
            if (revisionId == null) {
              throw new MissingRequiredPropertyException("GetStateMachineResult", "revisionId");
            }
            this.revisionId = revisionId;
            return this;
        }
        @CustomType.Setter
        public Builder roleArn(String roleArn) {
            if (roleArn == null) {
              throw new MissingRequiredPropertyException("GetStateMachineResult", "roleArn");
            }
            this.roleArn = roleArn;
            return this;
        }
        @CustomType.Setter
        public Builder status(String status) {
            if (status == null) {
              throw new MissingRequiredPropertyException("GetStateMachineResult", "status");
            }
            this.status = status;
            return this;
        }
        public GetStateMachineResult build() {
            final var _resultValue = new GetStateMachineResult();
            _resultValue.arn = arn;
            _resultValue.creationDate = creationDate;
            _resultValue.definition = definition;
            _resultValue.description = description;
            _resultValue.id = id;
            _resultValue.name = name;
            _resultValue.revisionId = revisionId;
            _resultValue.roleArn = roleArn;
            _resultValue.status = status;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy