
com.pulumi.azurenative.monitor.outputs.GetPipelineGroupResult Maven / Gradle / Ivy
// *** 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.azurenative.monitor.outputs;
import com.pulumi.azurenative.monitor.outputs.AzureResourceManagerCommonTypesExtendedLocationResponse;
import com.pulumi.azurenative.monitor.outputs.ExporterResponse;
import com.pulumi.azurenative.monitor.outputs.NetworkingConfigurationResponse;
import com.pulumi.azurenative.monitor.outputs.ProcessorResponse;
import com.pulumi.azurenative.monitor.outputs.ReceiverResponse;
import com.pulumi.azurenative.monitor.outputs.ServiceResponse;
import com.pulumi.azurenative.monitor.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetPipelineGroupResult {
/**
* @return The exporters specified for a pipeline group instance.
*
*/
private List exporters;
/**
* @return The extended location for given pipeline group.
*
*/
private @Nullable AzureResourceManagerCommonTypesExtendedLocationResponse extendedLocation;
/**
* @return Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*
*/
private String id;
/**
* @return The geo-location where the resource lives
*
*/
private String location;
/**
* @return The name of the resource
*
*/
private String name;
/**
* @return Networking configurations for the pipeline group instance.
*
*/
private @Nullable List networkingConfigurations;
/**
* @return The processors specified for a pipeline group instance.
*
*/
private List processors;
/**
* @return The provisioning state of a pipeline group instance. Set to Succeeded if everything is healthy.
*
*/
private String provisioningState;
/**
* @return The receivers specified for a pipeline group instance.
*
*/
private List receivers;
/**
* @return Defines the amount of replicas of the pipeline group instance.
*
*/
private @Nullable Integer replicas;
/**
* @return The service section for a given pipeline group instance.
*
*/
private ServiceResponse service;
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
private SystemDataResponse systemData;
/**
* @return Resource tags.
*
*/
private @Nullable Map tags;
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
private String type;
private GetPipelineGroupResult() {}
/**
* @return The exporters specified for a pipeline group instance.
*
*/
public List exporters() {
return this.exporters;
}
/**
* @return The extended location for given pipeline group.
*
*/
public Optional extendedLocation() {
return Optional.ofNullable(this.extendedLocation);
}
/**
* @return Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*
*/
public String id() {
return this.id;
}
/**
* @return The geo-location where the resource lives
*
*/
public String location() {
return this.location;
}
/**
* @return The name of the resource
*
*/
public String name() {
return this.name;
}
/**
* @return Networking configurations for the pipeline group instance.
*
*/
public List networkingConfigurations() {
return this.networkingConfigurations == null ? List.of() : this.networkingConfigurations;
}
/**
* @return The processors specified for a pipeline group instance.
*
*/
public List processors() {
return this.processors;
}
/**
* @return The provisioning state of a pipeline group instance. Set to Succeeded if everything is healthy.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return The receivers specified for a pipeline group instance.
*
*/
public List receivers() {
return this.receivers;
}
/**
* @return Defines the amount of replicas of the pipeline group instance.
*
*/
public Optional replicas() {
return Optional.ofNullable(this.replicas);
}
/**
* @return The service section for a given pipeline group instance.
*
*/
public ServiceResponse service() {
return this.service;
}
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return Resource tags.
*
*/
public Map tags() {
return this.tags == null ? Map.of() : this.tags;
}
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetPipelineGroupResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List exporters;
private @Nullable AzureResourceManagerCommonTypesExtendedLocationResponse extendedLocation;
private String id;
private String location;
private String name;
private @Nullable List networkingConfigurations;
private List processors;
private String provisioningState;
private List receivers;
private @Nullable Integer replicas;
private ServiceResponse service;
private SystemDataResponse systemData;
private @Nullable Map tags;
private String type;
public Builder() {}
public Builder(GetPipelineGroupResult defaults) {
Objects.requireNonNull(defaults);
this.exporters = defaults.exporters;
this.extendedLocation = defaults.extendedLocation;
this.id = defaults.id;
this.location = defaults.location;
this.name = defaults.name;
this.networkingConfigurations = defaults.networkingConfigurations;
this.processors = defaults.processors;
this.provisioningState = defaults.provisioningState;
this.receivers = defaults.receivers;
this.replicas = defaults.replicas;
this.service = defaults.service;
this.systemData = defaults.systemData;
this.tags = defaults.tags;
this.type = defaults.type;
}
@CustomType.Setter
public Builder exporters(List exporters) {
if (exporters == null) {
throw new MissingRequiredPropertyException("GetPipelineGroupResult", "exporters");
}
this.exporters = exporters;
return this;
}
public Builder exporters(ExporterResponse... exporters) {
return exporters(List.of(exporters));
}
@CustomType.Setter
public Builder extendedLocation(@Nullable AzureResourceManagerCommonTypesExtendedLocationResponse extendedLocation) {
this.extendedLocation = extendedLocation;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetPipelineGroupResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder location(String location) {
if (location == null) {
throw new MissingRequiredPropertyException("GetPipelineGroupResult", "location");
}
this.location = location;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetPipelineGroupResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder networkingConfigurations(@Nullable List networkingConfigurations) {
this.networkingConfigurations = networkingConfigurations;
return this;
}
public Builder networkingConfigurations(NetworkingConfigurationResponse... networkingConfigurations) {
return networkingConfigurations(List.of(networkingConfigurations));
}
@CustomType.Setter
public Builder processors(List processors) {
if (processors == null) {
throw new MissingRequiredPropertyException("GetPipelineGroupResult", "processors");
}
this.processors = processors;
return this;
}
public Builder processors(ProcessorResponse... processors) {
return processors(List.of(processors));
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("GetPipelineGroupResult", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder receivers(List receivers) {
if (receivers == null) {
throw new MissingRequiredPropertyException("GetPipelineGroupResult", "receivers");
}
this.receivers = receivers;
return this;
}
public Builder receivers(ReceiverResponse... receivers) {
return receivers(List.of(receivers));
}
@CustomType.Setter
public Builder replicas(@Nullable Integer replicas) {
this.replicas = replicas;
return this;
}
@CustomType.Setter
public Builder service(ServiceResponse service) {
if (service == null) {
throw new MissingRequiredPropertyException("GetPipelineGroupResult", "service");
}
this.service = service;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetPipelineGroupResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder tags(@Nullable Map tags) {
this.tags = tags;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetPipelineGroupResult", "type");
}
this.type = type;
return this;
}
public GetPipelineGroupResult build() {
final var _resultValue = new GetPipelineGroupResult();
_resultValue.exporters = exporters;
_resultValue.extendedLocation = extendedLocation;
_resultValue.id = id;
_resultValue.location = location;
_resultValue.name = name;
_resultValue.networkingConfigurations = networkingConfigurations;
_resultValue.processors = processors;
_resultValue.provisioningState = provisioningState;
_resultValue.receivers = receivers;
_resultValue.replicas = replicas;
_resultValue.service = service;
_resultValue.systemData = systemData;
_resultValue.tags = tags;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy