com.pulumi.azurenative.policyinsights.inputs.ListRemediationDeploymentsAtResourcePlainArgs 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 ListRemediationDeploymentsAtResourcePlainArgs extends com.pulumi.resources.InvokeArgs {
public static final ListRemediationDeploymentsAtResourcePlainArgs Empty = new ListRemediationDeploymentsAtResourcePlainArgs();
/**
* 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;
}
/**
* Resource ID.
*
*/
@Import(name="resourceId", required=true)
private String resourceId;
/**
* @return Resource ID.
*
*/
public String resourceId() {
return this.resourceId;
}
/**
* 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 ListRemediationDeploymentsAtResourcePlainArgs() {}
private ListRemediationDeploymentsAtResourcePlainArgs(ListRemediationDeploymentsAtResourcePlainArgs $) {
this.remediationName = $.remediationName;
this.resourceId = $.resourceId;
this.top = $.top;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ListRemediationDeploymentsAtResourcePlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private ListRemediationDeploymentsAtResourcePlainArgs $;
public Builder() {
$ = new ListRemediationDeploymentsAtResourcePlainArgs();
}
public Builder(ListRemediationDeploymentsAtResourcePlainArgs defaults) {
$ = new ListRemediationDeploymentsAtResourcePlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param remediationName The name of the remediation.
*
* @return builder
*
*/
public Builder remediationName(String remediationName) {
$.remediationName = remediationName;
return this;
}
/**
* @param resourceId Resource ID.
*
* @return builder
*
*/
public Builder resourceId(String resourceId) {
$.resourceId = resourceId;
return this;
}
/**
* @param top Maximum number of records to return.
*
* @return builder
*
*/
public Builder top(@Nullable Integer top) {
$.top = top;
return this;
}
public ListRemediationDeploymentsAtResourcePlainArgs build() {
if ($.remediationName == null) {
throw new MissingRequiredPropertyException("ListRemediationDeploymentsAtResourcePlainArgs", "remediationName");
}
if ($.resourceId == null) {
throw new MissingRequiredPropertyException("ListRemediationDeploymentsAtResourcePlainArgs", "resourceId");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy