com.pulumi.azurenative.policyinsights.inputs.GetRemediationAtManagementGroupArgs 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.policyinsights.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 GetRemediationAtManagementGroupArgs extends com.pulumi.resources.InvokeArgs {
public static final GetRemediationAtManagementGroupArgs Empty = new GetRemediationAtManagementGroupArgs();
/**
* Management group ID.
*
*/
@Import(name="managementGroupId", required=true)
private Output managementGroupId;
/**
* @return Management group ID.
*
*/
public Output managementGroupId() {
return this.managementGroupId;
}
/**
* The namespace for Microsoft Management RP; only "Microsoft.Management" is allowed.
*
*/
@Import(name="managementGroupsNamespace", required=true)
private Output managementGroupsNamespace;
/**
* @return The namespace for Microsoft Management RP; only "Microsoft.Management" is allowed.
*
*/
public Output managementGroupsNamespace() {
return this.managementGroupsNamespace;
}
/**
* The name of the remediation.
*
*/
@Import(name="remediationName", required=true)
private Output remediationName;
/**
* @return The name of the remediation.
*
*/
public Output remediationName() {
return this.remediationName;
}
private GetRemediationAtManagementGroupArgs() {}
private GetRemediationAtManagementGroupArgs(GetRemediationAtManagementGroupArgs $) {
this.managementGroupId = $.managementGroupId;
this.managementGroupsNamespace = $.managementGroupsNamespace;
this.remediationName = $.remediationName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetRemediationAtManagementGroupArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetRemediationAtManagementGroupArgs $;
public Builder() {
$ = new GetRemediationAtManagementGroupArgs();
}
public Builder(GetRemediationAtManagementGroupArgs defaults) {
$ = new GetRemediationAtManagementGroupArgs(Objects.requireNonNull(defaults));
}
/**
* @param managementGroupId Management group ID.
*
* @return builder
*
*/
public Builder managementGroupId(Output managementGroupId) {
$.managementGroupId = managementGroupId;
return this;
}
/**
* @param managementGroupId Management group ID.
*
* @return builder
*
*/
public Builder managementGroupId(String managementGroupId) {
return managementGroupId(Output.of(managementGroupId));
}
/**
* @param managementGroupsNamespace The namespace for Microsoft Management RP; only "Microsoft.Management" is allowed.
*
* @return builder
*
*/
public Builder managementGroupsNamespace(Output managementGroupsNamespace) {
$.managementGroupsNamespace = managementGroupsNamespace;
return this;
}
/**
* @param managementGroupsNamespace The namespace for Microsoft Management RP; only "Microsoft.Management" is allowed.
*
* @return builder
*
*/
public Builder managementGroupsNamespace(String managementGroupsNamespace) {
return managementGroupsNamespace(Output.of(managementGroupsNamespace));
}
/**
* @param remediationName The name of the remediation.
*
* @return builder
*
*/
public Builder remediationName(Output remediationName) {
$.remediationName = remediationName;
return this;
}
/**
* @param remediationName The name of the remediation.
*
* @return builder
*
*/
public Builder remediationName(String remediationName) {
return remediationName(Output.of(remediationName));
}
public GetRemediationAtManagementGroupArgs build() {
if ($.managementGroupId == null) {
throw new MissingRequiredPropertyException("GetRemediationAtManagementGroupArgs", "managementGroupId");
}
if ($.managementGroupsNamespace == null) {
throw new MissingRequiredPropertyException("GetRemediationAtManagementGroupArgs", "managementGroupsNamespace");
}
if ($.remediationName == null) {
throw new MissingRequiredPropertyException("GetRemediationAtManagementGroupArgs", "remediationName");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy