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

import com.pulumi.azure.hybrid.outputs.GetComputeMachineServiceStatusExtensionService;
import com.pulumi.azure.hybrid.outputs.GetComputeMachineServiceStatusGuestConfigurationService;
import com.pulumi.core.annotations.CustomType;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetComputeMachineServiceStatus {
    /**
     * @return A `extension_service` block as defined above.
     * 
     */
    private List<GetComputeMachineServiceStatusExtensionService> extensionServices;
    /**
     * @return A `guest_configuration_service` block as defined above.
     * 
     */
    private List<GetComputeMachineServiceStatusGuestConfigurationService> guestConfigurationServices;

    private GetComputeMachineServiceStatus() {}
    /**
     * @return A `extension_service` block as defined above.
     * 
     */
    public List<GetComputeMachineServiceStatusExtensionService> extensionServices() {
        return this.extensionServices;
    }
    /**
     * @return A `guest_configuration_service` block as defined above.
     * 
     */
    public List<GetComputeMachineServiceStatusGuestConfigurationService> guestConfigurationServices() {
        return this.guestConfigurationServices;
    }

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

    public static Builder builder(GetComputeMachineServiceStatus defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List<GetComputeMachineServiceStatusExtensionService> extensionServices;
        private List<GetComputeMachineServiceStatusGuestConfigurationService> guestConfigurationServices;
        public Builder() {}
        public Builder(GetComputeMachineServiceStatus defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.extensionServices = defaults.extensionServices;
    	      this.guestConfigurationServices = defaults.guestConfigurationServices;
        }

        @CustomType.Setter
        public Builder extensionServices(List<GetComputeMachineServiceStatusExtensionService> extensionServices) {
            this.extensionServices = Objects.requireNonNull(extensionServices);
            return this;
        }
        public Builder extensionServices(GetComputeMachineServiceStatusExtensionService... extensionServices) {
            return extensionServices(List.of(extensionServices));
        }
        @CustomType.Setter
        public Builder guestConfigurationServices(List<GetComputeMachineServiceStatusGuestConfigurationService> guestConfigurationServices) {
            this.guestConfigurationServices = Objects.requireNonNull(guestConfigurationServices);
            return this;
        }
        public Builder guestConfigurationServices(GetComputeMachineServiceStatusGuestConfigurationService... guestConfigurationServices) {
            return guestConfigurationServices(List.of(guestConfigurationServices));
        }
        public GetComputeMachineServiceStatus build() {
            final var o = new GetComputeMachineServiceStatus();
            o.extensionServices = extensionServices;
            o.guestConfigurationServices = guestConfigurationServices;
            return o;
        }
    }
}
