com.pulumi.googlenative.migrationcenter.v1alpha1.ReportConfig 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.ReportConfigArgs;
import com.pulumi.googlenative.migrationcenter.v1alpha1.outputs.ReportConfigGroupPreferenceSetAssignmentResponse;
import java.lang.String;
import java.util.List;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* Creates a report configuration.
* Auto-naming is currently not supported for this resource.
*
*/
@ResourceType(type="google-native:migrationcenter/v1alpha1:ReportConfig")
public class ReportConfig extends com.pulumi.resources.CustomResource {
/**
* The timestamp when the resource was created.
*
*/
@Export(name="createTime", type=String.class, parameters={})
private Output createTime;
/**
* @return The timestamp when the resource was created.
*
*/
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;
}
/**
* Collection of combinations of groups and preference sets.
*
*/
@Export(name="groupPreferencesetAssignments", type=List.class, parameters={ReportConfigGroupPreferenceSetAssignmentResponse.class})
private Output> groupPreferencesetAssignments;
/**
* @return Collection of combinations of groups and preference sets.
*
*/
public Output> groupPreferencesetAssignments() {
return this.groupPreferencesetAssignments;
}
@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;
}
/**
* Required. User specified ID for the report config. It will become the last component of the report config 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="reportConfigId", type=String.class, parameters={})
private Output reportConfigId;
/**
* @return Required. User specified ID for the report config. It will become the last component of the report config 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 reportConfigId() {
return this.reportConfigId;
}
/**
* 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* @Nullable */ String> 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);
}
/**
* The timestamp when the resource was last updated.
*
*/
@Export(name="updateTime", type=String.class, parameters={})
private Output updateTime;
/**
* @return The timestamp when the resource was last updated.
*
*/
public Output updateTime() {
return this.updateTime;
}
/**
*
* @param name The _unique_ name of the resulting resource.
*/
public ReportConfig(String name) {
this(name, ReportConfigArgs.Empty);
}
/**
*
* @param name The _unique_ name of the resulting resource.
* @param args The arguments to use to populate this resource's properties.
*/
public ReportConfig(String name, ReportConfigArgs 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 ReportConfig(String name, ReportConfigArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
super("google-native:migrationcenter/v1alpha1:ReportConfig", name, args == null ? ReportConfigArgs.Empty : args, makeResourceOptions(options, Codegen.empty()));
}
private ReportConfig(String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) {
super("google-native:migrationcenter/v1alpha1:ReportConfig", 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 ReportConfig get(String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) {
return new ReportConfig(name, id, options);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy