com.pulumi.gitlab.inputs.GetApplicationArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gitlab Show documentation
Show all versions of gitlab Show documentation
A Pulumi package for creating and managing GitLab 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.gitlab.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 GetApplicationArgs extends com.pulumi.resources.InvokeArgs {
public static final GetApplicationArgs Empty = new GetApplicationArgs();
@Import(name="id", required=true)
private Output id;
public Output id() {
return this.id;
}
private GetApplicationArgs() {}
private GetApplicationArgs(GetApplicationArgs $) {
this.id = $.id;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetApplicationArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetApplicationArgs $;
public Builder() {
$ = new GetApplicationArgs();
}
public Builder(GetApplicationArgs defaults) {
$ = new GetApplicationArgs(Objects.requireNonNull(defaults));
}
public Builder id(Output id) {
$.id = id;
return this;
}
public Builder id(String id) {
return id(Output.of(id));
}
public GetApplicationArgs build() {
if ($.id == null) {
throw new MissingRequiredPropertyException("GetApplicationArgs", "id");
}
return $;
}
}
}