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

import com.pulumi.core.annotations.CustomType;
import com.pulumi.gcp.container.outputs.GetClusterMaintenancePolicyMaintenanceExclusionExclusionOption;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetClusterMaintenancePolicyMaintenanceExclusion {
    private String endTime;
    private String exclusionName;
    private List<GetClusterMaintenancePolicyMaintenanceExclusionExclusionOption> exclusionOptions;
    private String startTime;

    private GetClusterMaintenancePolicyMaintenanceExclusion() {}
    public String endTime() {
        return this.endTime;
    }
    public String exclusionName() {
        return this.exclusionName;
    }
    public List<GetClusterMaintenancePolicyMaintenanceExclusionExclusionOption> exclusionOptions() {
        return this.exclusionOptions;
    }
    public String startTime() {
        return this.startTime;
    }

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

    public static Builder builder(GetClusterMaintenancePolicyMaintenanceExclusion defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String endTime;
        private String exclusionName;
        private List<GetClusterMaintenancePolicyMaintenanceExclusionExclusionOption> exclusionOptions;
        private String startTime;
        public Builder() {}
        public Builder(GetClusterMaintenancePolicyMaintenanceExclusion defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.endTime = defaults.endTime;
    	      this.exclusionName = defaults.exclusionName;
    	      this.exclusionOptions = defaults.exclusionOptions;
    	      this.startTime = defaults.startTime;
        }

        @CustomType.Setter
        public Builder endTime(String endTime) {
            this.endTime = Objects.requireNonNull(endTime);
            return this;
        }
        @CustomType.Setter
        public Builder exclusionName(String exclusionName) {
            this.exclusionName = Objects.requireNonNull(exclusionName);
            return this;
        }
        @CustomType.Setter
        public Builder exclusionOptions(List<GetClusterMaintenancePolicyMaintenanceExclusionExclusionOption> exclusionOptions) {
            this.exclusionOptions = Objects.requireNonNull(exclusionOptions);
            return this;
        }
        public Builder exclusionOptions(GetClusterMaintenancePolicyMaintenanceExclusionExclusionOption... exclusionOptions) {
            return exclusionOptions(List.of(exclusionOptions));
        }
        @CustomType.Setter
        public Builder startTime(String startTime) {
            this.startTime = Objects.requireNonNull(startTime);
            return this;
        }
        public GetClusterMaintenancePolicyMaintenanceExclusion build() {
            final var o = new GetClusterMaintenancePolicyMaintenanceExclusion();
            o.endTime = endTime;
            o.exclusionName = exclusionName;
            o.exclusionOptions = exclusionOptions;
            o.startTime = startTime;
            return o;
        }
    }
}
