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

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

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The newest version!
// *** 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.List;
import java.util.Objects;

@CustomType
public final class GetStateMachineVersionsResult {
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    private String statemachineArn;
    /**
     * @return ARN List identifying the statemachine versions.
     * 
     */
    private List statemachineVersions;

    private GetStateMachineVersionsResult() {}
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    public String statemachineArn() {
        return this.statemachineArn;
    }
    /**
     * @return ARN List identifying the statemachine versions.
     * 
     */
    public List statemachineVersions() {
        return this.statemachineVersions;
    }

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

    public static Builder builder(GetStateMachineVersionsResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String id;
        private String statemachineArn;
        private List statemachineVersions;
        public Builder() {}
        public Builder(GetStateMachineVersionsResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.id = defaults.id;
    	      this.statemachineArn = defaults.statemachineArn;
    	      this.statemachineVersions = defaults.statemachineVersions;
        }

        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetStateMachineVersionsResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder statemachineArn(String statemachineArn) {
            if (statemachineArn == null) {
              throw new MissingRequiredPropertyException("GetStateMachineVersionsResult", "statemachineArn");
            }
            this.statemachineArn = statemachineArn;
            return this;
        }
        @CustomType.Setter
        public Builder statemachineVersions(List statemachineVersions) {
            if (statemachineVersions == null) {
              throw new MissingRequiredPropertyException("GetStateMachineVersionsResult", "statemachineVersions");
            }
            this.statemachineVersions = statemachineVersions;
            return this;
        }
        public Builder statemachineVersions(String... statemachineVersions) {
            return statemachineVersions(List.of(statemachineVersions));
        }
        public GetStateMachineVersionsResult build() {
            final var _resultValue = new GetStateMachineVersionsResult();
            _resultValue.id = id;
            _resultValue.statemachineArn = statemachineArn;
            _resultValue.statemachineVersions = statemachineVersions;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy