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