
com.pulumi.azurenative.automation.outputs.GetDscNodeConfigurationResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.DscConfigurationAssociationPropertyResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.Double;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetDscNodeConfigurationResult {
/**
* @return Gets or sets the configuration of the node.
*
*/
private @Nullable DscConfigurationAssociationPropertyResponse configuration;
/**
* @return Gets or sets creation time.
*
*/
private @Nullable String creationTime;
/**
* @return Fully qualified resource Id for the resource
*
*/
private String id;
/**
* @return If a new build version of NodeConfiguration is required.
*
*/
private @Nullable Boolean incrementNodeConfigurationBuild;
/**
* @return Gets or sets the last modified time.
*
*/
private @Nullable String lastModifiedTime;
/**
* @return The name of the resource
*
*/
private String name;
/**
* @return Number of nodes with this node configuration assigned
*
*/
private @Nullable Double nodeCount;
/**
* @return Source of node configuration.
*
*/
private @Nullable String source;
/**
* @return The type of the resource.
*
*/
private String type;
private GetDscNodeConfigurationResult() {}
/**
* @return Gets or sets the configuration of the node.
*
*/
public Optional configuration() {
return Optional.ofNullable(this.configuration);
}
/**
* @return Gets or sets creation time.
*
*/
public Optional creationTime() {
return Optional.ofNullable(this.creationTime);
}
/**
* @return Fully qualified resource Id for the resource
*
*/
public String id() {
return this.id;
}
/**
* @return If a new build version of NodeConfiguration is required.
*
*/
public Optional incrementNodeConfigurationBuild() {
return Optional.ofNullable(this.incrementNodeConfigurationBuild);
}
/**
* @return Gets or sets the last modified time.
*
*/
public Optional lastModifiedTime() {
return Optional.ofNullable(this.lastModifiedTime);
}
/**
* @return The name of the resource
*
*/
public String name() {
return this.name;
}
/**
* @return Number of nodes with this node configuration assigned
*
*/
public Optional nodeCount() {
return Optional.ofNullable(this.nodeCount);
}
/**
* @return Source of node configuration.
*
*/
public Optional source() {
return Optional.ofNullable(this.source);
}
/**
* @return The type of the resource.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetDscNodeConfigurationResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable DscConfigurationAssociationPropertyResponse configuration;
private @Nullable String creationTime;
private String id;
private @Nullable Boolean incrementNodeConfigurationBuild;
private @Nullable String lastModifiedTime;
private String name;
private @Nullable Double nodeCount;
private @Nullable String source;
private String type;
public Builder() {}
public Builder(GetDscNodeConfigurationResult defaults) {
Objects.requireNonNull(defaults);
this.configuration = defaults.configuration;
this.creationTime = defaults.creationTime;
this.id = defaults.id;
this.incrementNodeConfigurationBuild = defaults.incrementNodeConfigurationBuild;
this.lastModifiedTime = defaults.lastModifiedTime;
this.name = defaults.name;
this.nodeCount = defaults.nodeCount;
this.source = defaults.source;
this.type = defaults.type;
}
@CustomType.Setter
public Builder configuration(@Nullable DscConfigurationAssociationPropertyResponse configuration) {
this.configuration = configuration;
return this;
}
@CustomType.Setter
public Builder creationTime(@Nullable String creationTime) {
this.creationTime = creationTime;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetDscNodeConfigurationResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder incrementNodeConfigurationBuild(@Nullable Boolean incrementNodeConfigurationBuild) {
this.incrementNodeConfigurationBuild = incrementNodeConfigurationBuild;
return this;
}
@CustomType.Setter
public Builder lastModifiedTime(@Nullable String lastModifiedTime) {
this.lastModifiedTime = lastModifiedTime;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetDscNodeConfigurationResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder nodeCount(@Nullable Double nodeCount) {
this.nodeCount = nodeCount;
return this;
}
@CustomType.Setter
public Builder source(@Nullable String source) {
this.source = source;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetDscNodeConfigurationResult", "type");
}
this.type = type;
return this;
}
public GetDscNodeConfigurationResult build() {
final var _resultValue = new GetDscNodeConfigurationResult();
_resultValue.configuration = configuration;
_resultValue.creationTime = creationTime;
_resultValue.id = id;
_resultValue.incrementNodeConfigurationBuild = incrementNodeConfigurationBuild;
_resultValue.lastModifiedTime = lastModifiedTime;
_resultValue.name = name;
_resultValue.nodeCount = nodeCount;
_resultValue.source = source;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy