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

import com.pulumi.azure.arcmachine.outputs.GetOsProfileWindowPatch;
import com.pulumi.core.annotations.CustomType;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetOsProfileWindow {
    /**
     * @return A `patch` block as defined above.
     * 
     */
    private List<GetOsProfileWindowPatch> patches;

    private GetOsProfileWindow() {}
    /**
     * @return A `patch` block as defined above.
     * 
     */
    public List<GetOsProfileWindowPatch> patches() {
        return this.patches;
    }

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

    public static Builder builder(GetOsProfileWindow defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List<GetOsProfileWindowPatch> patches;
        public Builder() {}
        public Builder(GetOsProfileWindow defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.patches = defaults.patches;
        }

        @CustomType.Setter
        public Builder patches(List<GetOsProfileWindowPatch> patches) {
            this.patches = Objects.requireNonNull(patches);
            return this;
        }
        public Builder patches(GetOsProfileWindowPatch... patches) {
            return patches(List.of(patches));
        }
        public GetOsProfileWindow build() {
            final var o = new GetOsProfileWindow();
            o.patches = patches;
            return o;
        }
    }
}
