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

com.pulumi.aws.ssmcontacts.outputs.GetPlanResult 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.ssmcontacts.outputs;

import com.pulumi.aws.ssmcontacts.outputs.GetPlanStage;
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 GetPlanResult {
    private String contactId;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    /**
     * @return List of stages. A contact has an engagement plan with stages that contact specified contact channels. An escalation plan uses stages that contact specified contacts.
     * 
     */
    private List stages;

    private GetPlanResult() {}
    public String contactId() {
        return this.contactId;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return List of stages. A contact has an engagement plan with stages that contact specified contact channels. An escalation plan uses stages that contact specified contacts.
     * 
     */
    public List stages() {
        return this.stages;
    }

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy