com.pulumi.ns1.inputs.GetRecordPlainArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ns1 Show documentation
Show all versions of ns1 Show documentation
A Pulumi package for creating and managing ns1 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.ns1.inputs;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetRecordPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetRecordPlainArgs Empty = new GetRecordPlainArgs();
/**
* The records' domain.
*
*/
@Import(name="domain", required=true)
private String domain;
/**
* @return The records' domain.
*
*/
public String domain() {
return this.domain;
}
/**
* The records' RR type.
*
*/
@Import(name="type", required=true)
private String type;
/**
* @return The records' RR type.
*
*/
public String type() {
return this.type;
}
/**
* The zone the record belongs to.
*
*/
@Import(name="zone", required=true)
private String zone;
/**
* @return The zone the record belongs to.
*
*/
public String zone() {
return this.zone;
}
private GetRecordPlainArgs() {}
private GetRecordPlainArgs(GetRecordPlainArgs $) {
this.domain = $.domain;
this.type = $.type;
this.zone = $.zone;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetRecordPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetRecordPlainArgs $;
public Builder() {
$ = new GetRecordPlainArgs();
}
public Builder(GetRecordPlainArgs defaults) {
$ = new GetRecordPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param domain The records' domain.
*
* @return builder
*
*/
public Builder domain(String domain) {
$.domain = domain;
return this;
}
/**
* @param type The records' RR type.
*
* @return builder
*
*/
public Builder type(String type) {
$.type = type;
return this;
}
/**
* @param zone The zone the record belongs to.
*
* @return builder
*
*/
public Builder zone(String zone) {
$.zone = zone;
return this;
}
public GetRecordPlainArgs build() {
if ($.domain == null) {
throw new MissingRequiredPropertyException("GetRecordPlainArgs", "domain");
}
if ($.type == null) {
throw new MissingRequiredPropertyException("GetRecordPlainArgs", "type");
}
if ($.zone == null) {
throw new MissingRequiredPropertyException("GetRecordPlainArgs", "zone");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy