All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.scm.HipProfile Maven / Gradle / Ivy

There is a newer version: 0.2.0-alpha.1732774506
Show newest version
// *** 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.scm;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Export;
import com.pulumi.core.annotations.ResourceType;
import com.pulumi.core.internal.Codegen;
import com.pulumi.scm.HipProfileArgs;
import com.pulumi.scm.Utilities;
import com.pulumi.scm.inputs.HipProfileState;
import java.lang.String;
import java.util.Optional;
import javax.annotation.Nullable;

/**
 * Retrieves a config item.
 * 
 * ## Example Usage
 * 
 * <!--Start PulumiCodeChooser -->
 * 
 * {@code
 * package generated_program;
 * 
 * import com.pulumi.Context;
 * import com.pulumi.Pulumi;
 * import com.pulumi.core.Output;
 * import com.pulumi.scm.HipProfile;
 * import java.util.List;
 * import java.util.ArrayList;
 * import java.util.Map;
 * import java.io.File;
 * import java.nio.file.Files;
 * import java.nio.file.Paths;
 * 
 * public class App {
 *     public static void main(String[] args) {
 *         Pulumi.run(App::stack);
 *     }
 * 
 *     public static void stack(Context ctx) {
 *         var example = new HipProfile("example");
 * 
 *     }
 * }
 * }
 * 
* <!--End PulumiCodeChooser --> * */ @ResourceType(type="scm:index/hipProfile:HipProfile") public class HipProfile extends com.pulumi.resources.CustomResource { /** * The Description param. String length must not exceed 255 characters. * */ @Export(name="description", refs={String.class}, tree="[0]") private Output description; /** * @return The Description param. String length must not exceed 255 characters. * */ public Output> description() { return Codegen.optional(this.description); } /** * The Device param. * */ @Export(name="device", refs={String.class}, tree="[0]") private Output device; /** * @return The Device param. * */ public Output> device() { return Codegen.optional(this.device); } /** * The Folder param. * */ @Export(name="folder", refs={String.class}, tree="[0]") private Output folder; /** * @return The Folder param. * */ public Output> folder() { return Codegen.optional(this.folder); } /** * The Match param. String length must not exceed 2048 characters. * */ @Export(name="match", refs={String.class}, tree="[0]") private Output match; /** * @return The Match param. String length must not exceed 2048 characters. * */ public Output match() { return this.match; } /** * Alphanumeric string [ 0-9a-zA-Z._-]. String length must not exceed 31 characters. * */ @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** * @return Alphanumeric string [ 0-9a-zA-Z._-]. String length must not exceed 31 characters. * */ public Output name() { return this.name; } /** * The Snippet param. * */ @Export(name="snippet", refs={String.class}, tree="[0]") private Output snippet; /** * @return The Snippet param. * */ public Output> snippet() { return Codegen.optional(this.snippet); } @Export(name="tfid", refs={String.class}, tree="[0]") private Output tfid; public Output tfid() { return this.tfid; } /** * * @param name The _unique_ name of the resulting resource. */ public HipProfile(java.lang.String name) { this(name, HipProfileArgs.Empty); } /** * * @param name The _unique_ name of the resulting resource. * @param args The arguments to use to populate this resource's properties. */ public HipProfile(java.lang.String name, HipProfileArgs args) { this(name, args, null); } /** * * @param name The _unique_ name of the resulting resource. * @param args The arguments to use to populate this resource's properties. * @param options A bag of options that control this resource's behavior. */ public HipProfile(java.lang.String name, HipProfileArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { super("scm:index/hipProfile:HipProfile", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); } private HipProfile(java.lang.String name, Output id, @Nullable HipProfileState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { super("scm:index/hipProfile:HipProfile", name, state, makeResourceOptions(options, id), false); } private static HipProfileArgs makeArgs(HipProfileArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { if (options != null && options.getUrn().isPresent()) { return null; } return args == null ? HipProfileArgs.Empty : args; } private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() .version(Utilities.getVersion()) .build(); return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); } /** * Get an existing Host resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state * @param options Optional settings to control the behavior of the CustomResource. */ public static HipProfile get(java.lang.String name, Output id, @Nullable HipProfileState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { return new HipProfile(name, id, state, options); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy