com.pulumi.azure.arcmachine.outputs.GetServiceStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** 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.GetServiceStatusExtensionService;
import com.pulumi.azure.arcmachine.outputs.GetServiceStatusGuestConfigurationService;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.List;
import java.util.Objects;
@CustomType
public final class GetServiceStatus {
/**
* @return A `extension_service` block as defined above.
*
*/
private List extensionServices;
/**
* @return A `guest_configuration_service` block as defined above.
*
*/
private List guestConfigurationServices;
private GetServiceStatus() {}
/**
* @return A `extension_service` block as defined above.
*
*/
public List extensionServices() {
return this.extensionServices;
}
/**
* @return A `guest_configuration_service` block as defined above.
*
*/
public List guestConfigurationServices() {
return this.guestConfigurationServices;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetServiceStatus defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List extensionServices;
private List guestConfigurationServices;
public Builder() {}
public Builder(GetServiceStatus defaults) {
Objects.requireNonNull(defaults);
this.extensionServices = defaults.extensionServices;
this.guestConfigurationServices = defaults.guestConfigurationServices;
}
@CustomType.Setter
public Builder extensionServices(List extensionServices) {
if (extensionServices == null) {
throw new MissingRequiredPropertyException("GetServiceStatus", "extensionServices");
}
this.extensionServices = extensionServices;
return this;
}
public Builder extensionServices(GetServiceStatusExtensionService... extensionServices) {
return extensionServices(List.of(extensionServices));
}
@CustomType.Setter
public Builder guestConfigurationServices(List guestConfigurationServices) {
if (guestConfigurationServices == null) {
throw new MissingRequiredPropertyException("GetServiceStatus", "guestConfigurationServices");
}
this.guestConfigurationServices = guestConfigurationServices;
return this;
}
public Builder guestConfigurationServices(GetServiceStatusGuestConfigurationService... guestConfigurationServices) {
return guestConfigurationServices(List.of(guestConfigurationServices));
}
public GetServiceStatus build() {
final var _resultValue = new GetServiceStatus();
_resultValue.extensionServices = extensionServices;
_resultValue.guestConfigurationServices = guestConfigurationServices;
return _resultValue;
}
}
}