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