
com.pulumi.azurenative.azurestackhci.inputs.GetUpdateRunPlainArgs 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.azurestackhci.inputs;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetUpdateRunPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetUpdateRunPlainArgs Empty = new GetUpdateRunPlainArgs();
/**
* The name of the cluster.
*
*/
@Import(name="clusterName", required=true)
private String clusterName;
/**
* @return The name of the cluster.
*
*/
public String clusterName() {
return this.clusterName;
}
/**
* The name of the resource group. The name is case insensitive.
*
*/
@Import(name="resourceGroupName", required=true)
private String resourceGroupName;
/**
* @return The name of the resource group. The name is case insensitive.
*
*/
public String resourceGroupName() {
return this.resourceGroupName;
}
/**
* The name of the Update
*
*/
@Import(name="updateName", required=true)
private String updateName;
/**
* @return The name of the Update
*
*/
public String updateName() {
return this.updateName;
}
/**
* The name of the Update Run
*
*/
@Import(name="updateRunName", required=true)
private String updateRunName;
/**
* @return The name of the Update Run
*
*/
public String updateRunName() {
return this.updateRunName;
}
private GetUpdateRunPlainArgs() {}
private GetUpdateRunPlainArgs(GetUpdateRunPlainArgs $) {
this.clusterName = $.clusterName;
this.resourceGroupName = $.resourceGroupName;
this.updateName = $.updateName;
this.updateRunName = $.updateRunName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetUpdateRunPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetUpdateRunPlainArgs $;
public Builder() {
$ = new GetUpdateRunPlainArgs();
}
public Builder(GetUpdateRunPlainArgs defaults) {
$ = new GetUpdateRunPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param clusterName The name of the cluster.
*
* @return builder
*
*/
public Builder clusterName(String clusterName) {
$.clusterName = clusterName;
return this;
}
/**
* @param resourceGroupName The name of the resource group. The name is case insensitive.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
/**
* @param updateName The name of the Update
*
* @return builder
*
*/
public Builder updateName(String updateName) {
$.updateName = updateName;
return this;
}
/**
* @param updateRunName The name of the Update Run
*
* @return builder
*
*/
public Builder updateRunName(String updateRunName) {
$.updateRunName = updateRunName;
return this;
}
public GetUpdateRunPlainArgs build() {
if ($.clusterName == null) {
throw new MissingRequiredPropertyException("GetUpdateRunPlainArgs", "clusterName");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetUpdateRunPlainArgs", "resourceGroupName");
}
if ($.updateName == null) {
throw new MissingRequiredPropertyException("GetUpdateRunPlainArgs", "updateName");
}
if ($.updateRunName == null) {
throw new MissingRequiredPropertyException("GetUpdateRunPlainArgs", "updateRunName");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy