com.pulumi.linode.inputs.GetDomainPlainArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of linode Show documentation
Show all versions of linode Show documentation
A Pulumi package for creating and managing linode cloud 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.linode.inputs;
import com.pulumi.core.annotations.Import;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class GetDomainPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetDomainPlainArgs Empty = new GetDomainPlainArgs();
/**
* The unique domain name of the Domain record to query.
*
*/
@Import(name="domain")
private @Nullable String domain;
/**
* @return The unique domain name of the Domain record to query.
*
*/
public Optional domain() {
return Optional.ofNullable(this.domain);
}
/**
* The unique numeric ID of the Domain record to query.
*
*/
@Import(name="id")
private @Nullable Integer id;
/**
* @return The unique numeric ID of the Domain record to query.
*
*/
public Optional id() {
return Optional.ofNullable(this.id);
}
private GetDomainPlainArgs() {}
private GetDomainPlainArgs(GetDomainPlainArgs $) {
this.domain = $.domain;
this.id = $.id;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetDomainPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetDomainPlainArgs $;
public Builder() {
$ = new GetDomainPlainArgs();
}
public Builder(GetDomainPlainArgs defaults) {
$ = new GetDomainPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param domain The unique domain name of the Domain record to query.
*
* @return builder
*
*/
public Builder domain(@Nullable String domain) {
$.domain = domain;
return this;
}
/**
* @param id The unique numeric ID of the Domain record to query.
*
* @return builder
*
*/
public Builder id(@Nullable Integer id) {
$.id = id;
return this;
}
public GetDomainPlainArgs build() {
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy