com.pulumi.azurenative.security.inputs.GetGovernanceAssignmentArgs 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 GetGovernanceAssignmentArgs extends com.pulumi.resources.InvokeArgs {
public static final GetGovernanceAssignmentArgs Empty = new GetGovernanceAssignmentArgs();
/**
* The Assessment Key - A unique key for the assessment type
*
*/
@Import(name="assessmentName", required=true)
private Output assessmentName;
/**
* @return The Assessment Key - A unique key for the assessment type
*
*/
public Output assessmentName() {
return this.assessmentName;
}
/**
* The governance assignment key - the assessment key of the required governance assignment
*
*/
@Import(name="assignmentKey", required=true)
private Output assignmentKey;
/**
* @return The governance assignment key - the assessment key of the required governance assignment
*
*/
public Output assignmentKey() {
return this.assignmentKey;
}
/**
* The scope of the Governance assignments. Valid scopes are: subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
*
*/
@Import(name="scope", required=true)
private Output scope;
/**
* @return The scope of the Governance assignments. Valid scopes are: subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
*
*/
public Output scope() {
return this.scope;
}
private GetGovernanceAssignmentArgs() {}
private GetGovernanceAssignmentArgs(GetGovernanceAssignmentArgs $) {
this.assessmentName = $.assessmentName;
this.assignmentKey = $.assignmentKey;
this.scope = $.scope;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetGovernanceAssignmentArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetGovernanceAssignmentArgs $;
public Builder() {
$ = new GetGovernanceAssignmentArgs();
}
public Builder(GetGovernanceAssignmentArgs defaults) {
$ = new GetGovernanceAssignmentArgs(Objects.requireNonNull(defaults));
}
/**
* @param assessmentName The Assessment Key - A unique key for the assessment type
*
* @return builder
*
*/
public Builder assessmentName(Output assessmentName) {
$.assessmentName = assessmentName;
return this;
}
/**
* @param assessmentName The Assessment Key - A unique key for the assessment type
*
* @return builder
*
*/
public Builder assessmentName(String assessmentName) {
return assessmentName(Output.of(assessmentName));
}
/**
* @param assignmentKey The governance assignment key - the assessment key of the required governance assignment
*
* @return builder
*
*/
public Builder assignmentKey(Output assignmentKey) {
$.assignmentKey = assignmentKey;
return this;
}
/**
* @param assignmentKey The governance assignment key - the assessment key of the required governance assignment
*
* @return builder
*
*/
public Builder assignmentKey(String assignmentKey) {
return assignmentKey(Output.of(assignmentKey));
}
/**
* @param scope The scope of the Governance assignments. Valid scopes are: subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
*
* @return builder
*
*/
public Builder scope(Output scope) {
$.scope = scope;
return this;
}
/**
* @param scope The scope of the Governance assignments. Valid scopes are: subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
*
* @return builder
*
*/
public Builder scope(String scope) {
return scope(Output.of(scope));
}
public GetGovernanceAssignmentArgs build() {
if ($.assessmentName == null) {
throw new MissingRequiredPropertyException("GetGovernanceAssignmentArgs", "assessmentName");
}
if ($.assignmentKey == null) {
throw new MissingRequiredPropertyException("GetGovernanceAssignmentArgs", "assignmentKey");
}
if ($.scope == null) {
throw new MissingRequiredPropertyException("GetGovernanceAssignmentArgs", "scope");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy