
com.pulumi.azurenative.automation.outputs.GetDscConfigurationResult 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.automation.outputs;
import com.pulumi.azurenative.automation.outputs.ContentSourceResponse;
import com.pulumi.azurenative.automation.outputs.DscConfigurationParameterResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetDscConfigurationResult {
/**
* @return Gets or sets the creation time.
*
*/
private @Nullable String creationTime;
/**
* @return Gets or sets the description.
*
*/
private @Nullable String description;
/**
* @return Gets or sets the etag of the resource.
*
*/
private @Nullable String etag;
/**
* @return Fully qualified resource Id for the resource
*
*/
private String id;
/**
* @return Gets or sets the job count of the configuration.
*
*/
private @Nullable Integer jobCount;
/**
* @return Gets or sets the last modified time.
*
*/
private @Nullable String lastModifiedTime;
/**
* @return The Azure Region where the resource lives
*
*/
private @Nullable String location;
/**
* @return Gets or sets verbose log option.
*
*/
private @Nullable Boolean logVerbose;
/**
* @return The name of the resource
*
*/
private String name;
/**
* @return Gets the number of compiled node configurations.
*
*/
private @Nullable Integer nodeConfigurationCount;
/**
* @return Gets or sets the configuration parameters.
*
*/
private @Nullable Map parameters;
/**
* @return Gets or sets the provisioning state of the configuration.
*
*/
private @Nullable String provisioningState;
/**
* @return Gets or sets the source.
*
*/
private @Nullable ContentSourceResponse source;
/**
* @return Gets or sets the state of the configuration.
*
*/
private @Nullable String state;
/**
* @return Resource tags.
*
*/
private @Nullable Map tags;
/**
* @return The type of the resource.
*
*/
private String type;
private GetDscConfigurationResult() {}
/**
* @return Gets or sets the creation time.
*
*/
public Optional creationTime() {
return Optional.ofNullable(this.creationTime);
}
/**
* @return Gets or sets the description.
*
*/
public Optional description() {
return Optional.ofNullable(this.description);
}
/**
* @return Gets or sets the etag of the resource.
*
*/
public Optional etag() {
return Optional.ofNullable(this.etag);
}
/**
* @return Fully qualified resource Id for the resource
*
*/
public String id() {
return this.id;
}
/**
* @return Gets or sets the job count of the configuration.
*
*/
public Optional jobCount() {
return Optional.ofNullable(this.jobCount);
}
/**
* @return Gets or sets the last modified time.
*
*/
public Optional lastModifiedTime() {
return Optional.ofNullable(this.lastModifiedTime);
}
/**
* @return The Azure Region where the resource lives
*
*/
public Optional location() {
return Optional.ofNullable(this.location);
}
/**
* @return Gets or sets verbose log option.
*
*/
public Optional logVerbose() {
return Optional.ofNullable(this.logVerbose);
}
/**
* @return The name of the resource
*
*/
public String name() {
return this.name;
}
/**
* @return Gets the number of compiled node configurations.
*
*/
public Optional nodeConfigurationCount() {
return Optional.ofNullable(this.nodeConfigurationCount);
}
/**
* @return Gets or sets the configuration parameters.
*
*/
public Map parameters() {
return this.parameters == null ? Map.of() : this.parameters;
}
/**
* @return Gets or sets the provisioning state of the configuration.
*
*/
public Optional provisioningState() {
return Optional.ofNullable(this.provisioningState);
}
/**
* @return Gets or sets the source.
*
*/
public Optional source() {
return Optional.ofNullable(this.source);
}
/**
* @return Gets or sets the state of the configuration.
*
*/
public Optional state() {
return Optional.ofNullable(this.state);
}
/**
* @return Resource tags.
*
*/
public Map tags() {
return this.tags == null ? Map.of() : this.tags;
}
/**
* @return The type of the resource.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetDscConfigurationResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String creationTime;
private @Nullable String description;
private @Nullable String etag;
private String id;
private @Nullable Integer jobCount;
private @Nullable String lastModifiedTime;
private @Nullable String location;
private @Nullable Boolean logVerbose;
private String name;
private @Nullable Integer nodeConfigurationCount;
private @Nullable Map parameters;
private @Nullable String provisioningState;
private @Nullable ContentSourceResponse source;
private @Nullable String state;
private @Nullable Map tags;
private String type;
public Builder() {}
public Builder(GetDscConfigurationResult defaults) {
Objects.requireNonNull(defaults);
this.creationTime = defaults.creationTime;
this.description = defaults.description;
this.etag = defaults.etag;
this.id = defaults.id;
this.jobCount = defaults.jobCount;
this.lastModifiedTime = defaults.lastModifiedTime;
this.location = defaults.location;
this.logVerbose = defaults.logVerbose;
this.name = defaults.name;
this.nodeConfigurationCount = defaults.nodeConfigurationCount;
this.parameters = defaults.parameters;
this.provisioningState = defaults.provisioningState;
this.source = defaults.source;
this.state = defaults.state;
this.tags = defaults.tags;
this.type = defaults.type;
}
@CustomType.Setter
public Builder creationTime(@Nullable String creationTime) {
this.creationTime = creationTime;
return this;
}
@CustomType.Setter
public Builder description(@Nullable String description) {
this.description = description;
return this;
}
@CustomType.Setter
public Builder etag(@Nullable String etag) {
this.etag = etag;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetDscConfigurationResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder jobCount(@Nullable Integer jobCount) {
this.jobCount = jobCount;
return this;
}
@CustomType.Setter
public Builder lastModifiedTime(@Nullable String lastModifiedTime) {
this.lastModifiedTime = lastModifiedTime;
return this;
}
@CustomType.Setter
public Builder location(@Nullable String location) {
this.location = location;
return this;
}
@CustomType.Setter
public Builder logVerbose(@Nullable Boolean logVerbose) {
this.logVerbose = logVerbose;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetDscConfigurationResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder nodeConfigurationCount(@Nullable Integer nodeConfigurationCount) {
this.nodeConfigurationCount = nodeConfigurationCount;
return this;
}
@CustomType.Setter
public Builder parameters(@Nullable Map parameters) {
this.parameters = parameters;
return this;
}
@CustomType.Setter
public Builder provisioningState(@Nullable String provisioningState) {
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder source(@Nullable ContentSourceResponse source) {
this.source = source;
return this;
}
@CustomType.Setter
public Builder state(@Nullable String state) {
this.state = state;
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("GetDscConfigurationResult", "type");
}
this.type = type;
return this;
}
public GetDscConfigurationResult build() {
final var _resultValue = new GetDscConfigurationResult();
_resultValue.creationTime = creationTime;
_resultValue.description = description;
_resultValue.etag = etag;
_resultValue.id = id;
_resultValue.jobCount = jobCount;
_resultValue.lastModifiedTime = lastModifiedTime;
_resultValue.location = location;
_resultValue.logVerbose = logVerbose;
_resultValue.name = name;
_resultValue.nodeConfigurationCount = nodeConfigurationCount;
_resultValue.parameters = parameters;
_resultValue.provisioningState = provisioningState;
_resultValue.source = source;
_resultValue.state = state;
_resultValue.tags = tags;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy