
com.pulumi.azurenative.advisor.inputs.GetSuppressionPlainArgs Maven / Gradle / Ivy
// *** 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.advisor.inputs;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetSuppressionPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetSuppressionPlainArgs Empty = new GetSuppressionPlainArgs();
/**
* The name of the suppression.
*
*/
@Import(name="name", required=true)
private String name;
/**
* @return The name of the suppression.
*
*/
public String name() {
return this.name;
}
/**
* The recommendation ID.
*
*/
@Import(name="recommendationId", required=true)
private String recommendationId;
/**
* @return The recommendation ID.
*
*/
public String recommendationId() {
return this.recommendationId;
}
/**
* The fully qualified Azure Resource Manager identifier of the resource to which the recommendation applies.
*
*/
@Import(name="resourceUri", required=true)
private String resourceUri;
/**
* @return The fully qualified Azure Resource Manager identifier of the resource to which the recommendation applies.
*
*/
public String resourceUri() {
return this.resourceUri;
}
private GetSuppressionPlainArgs() {}
private GetSuppressionPlainArgs(GetSuppressionPlainArgs $) {
this.name = $.name;
this.recommendationId = $.recommendationId;
this.resourceUri = $.resourceUri;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetSuppressionPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetSuppressionPlainArgs $;
public Builder() {
$ = new GetSuppressionPlainArgs();
}
public Builder(GetSuppressionPlainArgs defaults) {
$ = new GetSuppressionPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param name The name of the suppression.
*
* @return builder
*
*/
public Builder name(String name) {
$.name = name;
return this;
}
/**
* @param recommendationId The recommendation ID.
*
* @return builder
*
*/
public Builder recommendationId(String recommendationId) {
$.recommendationId = recommendationId;
return this;
}
/**
* @param resourceUri The fully qualified Azure Resource Manager identifier of the resource to which the recommendation applies.
*
* @return builder
*
*/
public Builder resourceUri(String resourceUri) {
$.resourceUri = resourceUri;
return this;
}
public GetSuppressionPlainArgs build() {
if ($.name == null) {
throw new MissingRequiredPropertyException("GetSuppressionPlainArgs", "name");
}
if ($.recommendationId == null) {
throw new MissingRequiredPropertyException("GetSuppressionPlainArgs", "recommendationId");
}
if ($.resourceUri == null) {
throw new MissingRequiredPropertyException("GetSuppressionPlainArgs", "resourceUri");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy