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

com.pulumi.googlenative.migrationcenter.v1alpha1.Report 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.googlenative.migrationcenter.v1alpha1;

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.googlenative.Utilities;
import com.pulumi.googlenative.migrationcenter.v1alpha1.ReportArgs;
import com.pulumi.googlenative.migrationcenter.v1alpha1.outputs.ReportSummaryResponse;
import java.lang.String;
import java.util.Optional;
import javax.annotation.Nullable;

/**
 * Creates a report.
 * Auto-naming is currently not supported for this resource.
 * 
 */
@ResourceType(type="google-native:migrationcenter/v1alpha1:Report")
public class Report extends com.pulumi.resources.CustomResource {
    /**
     * Creation timestamp.
     * 
     */
    @Export(name="createTime", type=String.class, parameters={})
    private Output createTime;

    /**
     * @return Creation timestamp.
     * 
     */
    public Output createTime() {
        return this.createTime;
    }
    /**
     * Free-text description.
     * 
     */
    @Export(name="description", type=String.class, parameters={})
    private Output description;

    /**
     * @return Free-text description.
     * 
     */
    public Output description() {
        return this.description;
    }
    /**
     * User-friendly display name. Maximum length is 63 characters.
     * 
     */
    @Export(name="displayName", type=String.class, parameters={})
    private Output displayName;

    /**
     * @return User-friendly display name. Maximum length is 63 characters.
     * 
     */
    public Output displayName() {
        return this.displayName;
    }
    @Export(name="location", type=String.class, parameters={})
    private Output location;

    public Output location() {
        return this.location;
    }
    /**
     * Name of resource.
     * 
     */
    @Export(name="name", type=String.class, parameters={})
    private Output name;

    /**
     * @return Name of resource.
     * 
     */
    public Output name() {
        return this.name;
    }
    @Export(name="project", type=String.class, parameters={})
    private Output project;

    public Output project() {
        return this.project;
    }
    @Export(name="reportConfigId", type=String.class, parameters={})
    private Output reportConfigId;

    public Output reportConfigId() {
        return this.reportConfigId;
    }
    /**
     * Required. User specified id for the report. It will become the last component of the report name. The id must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. The id must match the regular expression: [a-z]([a-z0-9-]{0,61}[a-z0-9])?.
     * 
     */
    @Export(name="reportId", type=String.class, parameters={})
    private Output reportId;

    /**
     * @return Required. User specified id for the report. It will become the last component of the report name. The id must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. The id must match the regular expression: [a-z]([a-z0-9-]{0,61}[a-z0-9])?.
     * 
     */
    public Output reportId() {
        return this.reportId;
    }
    /**
     * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
     * 
     */
    @Export(name="requestId", type=String.class, parameters={})
    private Output requestId;

    /**
     * @return Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
     * 
     */
    public Output> requestId() {
        return Codegen.optional(this.requestId);
    }
    /**
     * Report creation state.
     * 
     */
    @Export(name="state", type=String.class, parameters={})
    private Output state;

    /**
     * @return Report creation state.
     * 
     */
    public Output state() {
        return this.state;
    }
    /**
     * Summary view of the Report.
     * 
     */
    @Export(name="summary", type=ReportSummaryResponse.class, parameters={})
    private Output summary;

    /**
     * @return Summary view of the Report.
     * 
     */
    public Output summary() {
        return this.summary;
    }
    /**
     * Report type.
     * 
     */
    @Export(name="type", type=String.class, parameters={})
    private Output type;

    /**
     * @return Report type.
     * 
     */
    public Output type() {
        return this.type;
    }
    /**
     * Last update timestamp.
     * 
     */
    @Export(name="updateTime", type=String.class, parameters={})
    private Output updateTime;

    /**
     * @return Last update timestamp.
     * 
     */
    public Output updateTime() {
        return this.updateTime;
    }

    /**
     *
     * @param name The _unique_ name of the resulting resource.
     */
    public Report(String name) {
        this(name, ReportArgs.Empty);
    }
    /**
     *
     * @param name The _unique_ name of the resulting resource.
     * @param args The arguments to use to populate this resource's properties.
     */
    public Report(String name, ReportArgs 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 Report(String name, ReportArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
        super("google-native:migrationcenter/v1alpha1:Report", name, args == null ? ReportArgs.Empty : args, makeResourceOptions(options, Codegen.empty()));
    }

    private Report(String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) {
        super("google-native:migrationcenter/v1alpha1:Report", name, null, makeResourceOptions(options, id));
    }

    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 options Optional settings to control the behavior of the CustomResource.
     */
    public static Report get(String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) {
        return new Report(name, id, options);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy