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

import com.pulumi.aws.licensemanager.outputs.GetReceivedLicensesFilter;
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 GetReceivedLicensesResult {
    /**
     * @return List of all the license ARNs found.
     * 
     */
    private List<String> arns;
    private @Nullable List<GetReceivedLicensesFilter> filters;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;

    private GetReceivedLicensesResult() {}
    /**
     * @return List of all the license ARNs found.
     * 
     */
    public List<String> arns() {
        return this.arns;
    }
    public List<GetReceivedLicensesFilter> filters() {
        return this.filters == null ? List.of() : this.filters;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }

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

    public static Builder builder(GetReceivedLicensesResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List<String> arns;
        private @Nullable List<GetReceivedLicensesFilter> filters;
        private String id;
        public Builder() {}
        public Builder(GetReceivedLicensesResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.arns = defaults.arns;
    	      this.filters = defaults.filters;
    	      this.id = defaults.id;
        }

        @CustomType.Setter
        public Builder arns(List<String> arns) {
            this.arns = Objects.requireNonNull(arns);
            return this;
        }
        public Builder arns(String... arns) {
            return arns(List.of(arns));
        }
        @CustomType.Setter
        public Builder filters(@Nullable List<GetReceivedLicensesFilter> filters) {
            this.filters = filters;
            return this;
        }
        public Builder filters(GetReceivedLicensesFilter... filters) {
            return filters(List.of(filters));
        }
        @CustomType.Setter
        public Builder id(String id) {
            this.id = Objects.requireNonNull(id);
            return this;
        }
        public GetReceivedLicensesResult build() {
            final var o = new GetReceivedLicensesResult();
            o.arns = arns;
            o.filters = filters;
            o.id = id;
            return o;
        }
    }
}
