com.pulumi.azurenative.security.inputs.AzureResourceDetailsArgs 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.security.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
/**
* Details of the Azure resource that was assessed
*
*/
public final class AzureResourceDetailsArgs extends com.pulumi.resources.ResourceArgs {
public static final AzureResourceDetailsArgs Empty = new AzureResourceDetailsArgs();
/**
* The platform where the assessed resource resides
* Expected value is 'Azure'.
*
*/
@Import(name="source", required=true)
private Output source;
/**
* @return The platform where the assessed resource resides
* Expected value is 'Azure'.
*
*/
public Output source() {
return this.source;
}
private AzureResourceDetailsArgs() {}
private AzureResourceDetailsArgs(AzureResourceDetailsArgs $) {
this.source = $.source;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AzureResourceDetailsArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private AzureResourceDetailsArgs $;
public Builder() {
$ = new AzureResourceDetailsArgs();
}
public Builder(AzureResourceDetailsArgs defaults) {
$ = new AzureResourceDetailsArgs(Objects.requireNonNull(defaults));
}
/**
* @param source The platform where the assessed resource resides
* Expected value is 'Azure'.
*
* @return builder
*
*/
public Builder source(Output source) {
$.source = source;
return this;
}
/**
* @param source The platform where the assessed resource resides
* Expected value is 'Azure'.
*
* @return builder
*
*/
public Builder source(String source) {
return source(Output.of(source));
}
public AzureResourceDetailsArgs build() {
$.source = Codegen.stringProp("source").output().arg($.source).require();
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy