// *** 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.GetContactChannelDeliveryAddress;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetContactChannelResult {
    /**
     * @return Whether the contact channel is activated.
     * 
     */
    private String activationStatus;
    private String arn;
    /**
     * @return Amazon Resource Name (ARN) of the AWS SSM Contact that the contact channel belongs to.
     * 
     */
    private String contactId;
    /**
     * @return Details used to engage the contact channel.
     * 
     */
    private List<GetContactChannelDeliveryAddress> deliveryAddresses;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    /**
     * @return Name of the contact channel.
     * 
     */
    private String name;
    /**
     * @return Type of the contact channel.
     * 
     */
    private String type;

    private GetContactChannelResult() {}
    /**
     * @return Whether the contact channel is activated.
     * 
     */
    public String activationStatus() {
        return this.activationStatus;
    }
    public String arn() {
        return this.arn;
    }
    /**
     * @return Amazon Resource Name (ARN) of the AWS SSM Contact that the contact channel belongs to.
     * 
     */
    public String contactId() {
        return this.contactId;
    }
    /**
     * @return Details used to engage the contact channel.
     * 
     */
    public List<GetContactChannelDeliveryAddress> deliveryAddresses() {
        return this.deliveryAddresses;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return Name of the contact channel.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return Type of the contact channel.
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(GetContactChannelResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String activationStatus;
        private String arn;
        private String contactId;
        private List<GetContactChannelDeliveryAddress> deliveryAddresses;
        private String id;
        private String name;
        private String type;
        public Builder() {}
        public Builder(GetContactChannelResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.activationStatus = defaults.activationStatus;
    	      this.arn = defaults.arn;
    	      this.contactId = defaults.contactId;
    	      this.deliveryAddresses = defaults.deliveryAddresses;
    	      this.id = defaults.id;
    	      this.name = defaults.name;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder activationStatus(String activationStatus) {
            this.activationStatus = Objects.requireNonNull(activationStatus);
            return this;
        }
        @CustomType.Setter
        public Builder arn(String arn) {
            this.arn = Objects.requireNonNull(arn);
            return this;
        }
        @CustomType.Setter
        public Builder contactId(String contactId) {
            this.contactId = Objects.requireNonNull(contactId);
            return this;
        }
        @CustomType.Setter
        public Builder deliveryAddresses(List<GetContactChannelDeliveryAddress> deliveryAddresses) {
            this.deliveryAddresses = Objects.requireNonNull(deliveryAddresses);
            return this;
        }
        public Builder deliveryAddresses(GetContactChannelDeliveryAddress... deliveryAddresses) {
            return deliveryAddresses(List.of(deliveryAddresses));
        }
        @CustomType.Setter
        public Builder id(String id) {
            this.id = Objects.requireNonNull(id);
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            this.name = Objects.requireNonNull(name);
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            this.type = Objects.requireNonNull(type);
            return this;
        }
        public GetContactChannelResult build() {
            final var o = new GetContactChannelResult();
            o.activationStatus = activationStatus;
            o.arn = arn;
            o.contactId = contactId;
            o.deliveryAddresses = deliveryAddresses;
            o.id = id;
            o.name = name;
            o.type = type;
            return o;
        }
    }
}
