com.pulumi.azurenative.policyinsights.inputs.ListRemediationDeploymentsAtManagementGroupPlainArgs 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.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class ListRemediationDeploymentsAtManagementGroupPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final ListRemediationDeploymentsAtManagementGroupPlainArgs Empty = new ListRemediationDeploymentsAtManagementGroupPlainArgs();
/**
* Management group ID.
*
*/
@Import(name="managementGroupId", required=true)
private String managementGroupId;
/**
* @return Management group ID.
*
*/
public String managementGroupId() {
return this.managementGroupId;
}
/**
* The namespace for Microsoft Management RP; only "Microsoft.Management" is allowed.
*
*/
@Import(name="managementGroupsNamespace", required=true)
private String managementGroupsNamespace;
/**
* @return The namespace for Microsoft Management RP; only "Microsoft.Management" is allowed.
*
*/
public String managementGroupsNamespace() {
return this.managementGroupsNamespace;
}
/**
* The name of the remediation.
*
*/
@Import(name="remediationName", required=true)
private String remediationName;
/**
* @return The name of the remediation.
*
*/
public String remediationName() {
return this.remediationName;
}
/**
* Maximum number of records to return.
*
*/
@Import(name="top")
private @Nullable Integer top;
/**
* @return Maximum number of records to return.
*
*/
public Optional top() {
return Optional.ofNullable(this.top);
}
private ListRemediationDeploymentsAtManagementGroupPlainArgs() {}
private ListRemediationDeploymentsAtManagementGroupPlainArgs(ListRemediationDeploymentsAtManagementGroupPlainArgs $) {
this.managementGroupId = $.managementGroupId;
this.managementGroupsNamespace = $.managementGroupsNamespace;
this.remediationName = $.remediationName;
this.top = $.top;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ListRemediationDeploymentsAtManagementGroupPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private ListRemediationDeploymentsAtManagementGroupPlainArgs $;
public Builder() {
$ = new ListRemediationDeploymentsAtManagementGroupPlainArgs();
}
public Builder(ListRemediationDeploymentsAtManagementGroupPlainArgs defaults) {
$ = new ListRemediationDeploymentsAtManagementGroupPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param managementGroupId Management group ID.
*
* @return builder
*
*/
public Builder managementGroupId(String managementGroupId) {
$.managementGroupId = managementGroupId;
return this;
}
/**
* @param managementGroupsNamespace The namespace for Microsoft Management RP; only "Microsoft.Management" is allowed.
*
* @return builder
*
*/
public Builder managementGroupsNamespace(String managementGroupsNamespace) {
$.managementGroupsNamespace = managementGroupsNamespace;
return this;
}
/**
* @param remediationName The name of the remediation.
*
* @return builder
*
*/
public Builder remediationName(String remediationName) {
$.remediationName = remediationName;
return this;
}
/**
* @param top Maximum number of records to return.
*
* @return builder
*
*/
public Builder top(@Nullable Integer top) {
$.top = top;
return this;
}
public ListRemediationDeploymentsAtManagementGroupPlainArgs build() {
if ($.managementGroupId == null) {
throw new MissingRequiredPropertyException("ListRemediationDeploymentsAtManagementGroupPlainArgs", "managementGroupId");
}
if ($.managementGroupsNamespace == null) {
throw new MissingRequiredPropertyException("ListRemediationDeploymentsAtManagementGroupPlainArgs", "managementGroupsNamespace");
}
if ($.remediationName == null) {
throw new MissingRequiredPropertyException("ListRemediationDeploymentsAtManagementGroupPlainArgs", "remediationName");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy