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