com.pulumi.azurenative.security.inputs.GetStandardAssignmentArgs 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.security.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetStandardAssignmentArgs extends com.pulumi.resources.InvokeArgs {
public static final GetStandardAssignmentArgs Empty = new GetStandardAssignmentArgs();
/**
* The identifier of the resource.
*
*/
@Import(name="resourceId", required=true)
private Output resourceId;
/**
* @return The identifier of the resource.
*
*/
public Output resourceId() {
return this.resourceId;
}
/**
* The standard assignments assignment key - unique key for the standard assignment
*
*/
@Import(name="standardAssignmentName", required=true)
private Output standardAssignmentName;
/**
* @return The standard assignments assignment key - unique key for the standard assignment
*
*/
public Output standardAssignmentName() {
return this.standardAssignmentName;
}
private GetStandardAssignmentArgs() {}
private GetStandardAssignmentArgs(GetStandardAssignmentArgs $) {
this.resourceId = $.resourceId;
this.standardAssignmentName = $.standardAssignmentName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetStandardAssignmentArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetStandardAssignmentArgs $;
public Builder() {
$ = new GetStandardAssignmentArgs();
}
public Builder(GetStandardAssignmentArgs defaults) {
$ = new GetStandardAssignmentArgs(Objects.requireNonNull(defaults));
}
/**
* @param resourceId The identifier of the resource.
*
* @return builder
*
*/
public Builder resourceId(Output resourceId) {
$.resourceId = resourceId;
return this;
}
/**
* @param resourceId The identifier of the resource.
*
* @return builder
*
*/
public Builder resourceId(String resourceId) {
return resourceId(Output.of(resourceId));
}
/**
* @param standardAssignmentName The standard assignments assignment key - unique key for the standard assignment
*
* @return builder
*
*/
public Builder standardAssignmentName(Output standardAssignmentName) {
$.standardAssignmentName = standardAssignmentName;
return this;
}
/**
* @param standardAssignmentName The standard assignments assignment key - unique key for the standard assignment
*
* @return builder
*
*/
public Builder standardAssignmentName(String standardAssignmentName) {
return standardAssignmentName(Output.of(standardAssignmentName));
}
public GetStandardAssignmentArgs build() {
if ($.resourceId == null) {
throw new MissingRequiredPropertyException("GetStandardAssignmentArgs", "resourceId");
}
if ($.standardAssignmentName == null) {
throw new MissingRequiredPropertyException("GetStandardAssignmentArgs", "standardAssignmentName");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy