// *** 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.cloudfront.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;

@CustomType
public final class GetOriginAccessIdentitiesResult {
    private @Nullable List<String> comments;
    /**
     * @return Set of ARNs of the matched origin access identities.
     * 
     */
    private List<String> iamArns;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    /**
     * @return Set of ids of the matched origin access identities.
     * 
     */
    private List<String> ids;
    /**
     * @return Set of S3 canonical user IDs of the matched origin access identities.
     * 
     */
    private List<String> s3CanonicalUserIds;

    private GetOriginAccessIdentitiesResult() {}
    public List<String> comments() {
        return this.comments == null ? List.of() : this.comments;
    }
    /**
     * @return Set of ARNs of the matched origin access identities.
     * 
     */
    public List<String> iamArns() {
        return this.iamArns;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return Set of ids of the matched origin access identities.
     * 
     */
    public List<String> ids() {
        return this.ids;
    }
    /**
     * @return Set of S3 canonical user IDs of the matched origin access identities.
     * 
     */
    public List<String> s3CanonicalUserIds() {
        return this.s3CanonicalUserIds;
    }

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

    public static Builder builder(GetOriginAccessIdentitiesResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List<String> comments;
        private List<String> iamArns;
        private String id;
        private List<String> ids;
        private List<String> s3CanonicalUserIds;
        public Builder() {}
        public Builder(GetOriginAccessIdentitiesResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.comments = defaults.comments;
    	      this.iamArns = defaults.iamArns;
    	      this.id = defaults.id;
    	      this.ids = defaults.ids;
    	      this.s3CanonicalUserIds = defaults.s3CanonicalUserIds;
        }

        @CustomType.Setter
        public Builder comments(@Nullable List<String> comments) {
            this.comments = comments;
            return this;
        }
        public Builder comments(String... comments) {
            return comments(List.of(comments));
        }
        @CustomType.Setter
        public Builder iamArns(List<String> iamArns) {
            this.iamArns = Objects.requireNonNull(iamArns);
            return this;
        }
        public Builder iamArns(String... iamArns) {
            return iamArns(List.of(iamArns));
        }
        @CustomType.Setter
        public Builder id(String id) {
            this.id = Objects.requireNonNull(id);
            return this;
        }
        @CustomType.Setter
        public Builder ids(List<String> ids) {
            this.ids = Objects.requireNonNull(ids);
            return this;
        }
        public Builder ids(String... ids) {
            return ids(List.of(ids));
        }
        @CustomType.Setter
        public Builder s3CanonicalUserIds(List<String> s3CanonicalUserIds) {
            this.s3CanonicalUserIds = Objects.requireNonNull(s3CanonicalUserIds);
            return this;
        }
        public Builder s3CanonicalUserIds(String... s3CanonicalUserIds) {
            return s3CanonicalUserIds(List.of(s3CanonicalUserIds));
        }
        public GetOriginAccessIdentitiesResult build() {
            final var o = new GetOriginAccessIdentitiesResult();
            o.comments = comments;
            o.iamArns = iamArns;
            o.id = id;
            o.ids = ids;
            o.s3CanonicalUserIds = s3CanonicalUserIds;
            return o;
        }
    }
}
