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

com.pulumi.cloudflare.inputs.Web3HostnameState 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.cloudflare.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class Web3HostnameState extends com.pulumi.resources.ResourceArgs {

    public static final Web3HostnameState Empty = new Web3HostnameState();

    /**
     * Creation time.
     * 
     */
    @Import(name="createdOn")
    private @Nullable Output createdOn;

    /**
     * @return Creation time.
     * 
     */
    public Optional> createdOn() {
        return Optional.ofNullable(this.createdOn);
    }

    /**
     * An optional description of the hostname.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return An optional description of the hostname.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * DNSLink value used if the target is ipfs.
     * 
     */
    @Import(name="dnslink")
    private @Nullable Output dnslink;

    /**
     * @return DNSLink value used if the target is ipfs.
     * 
     */
    public Optional> dnslink() {
        return Optional.ofNullable(this.dnslink);
    }

    /**
     * Last modification time.
     * 
     */
    @Import(name="modifiedOn")
    private @Nullable Output modifiedOn;

    /**
     * @return Last modification time.
     * 
     */
    public Optional> modifiedOn() {
        return Optional.ofNullable(this.modifiedOn);
    }

    /**
     * The hostname that will point to the target gateway via CNAME.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The hostname that will point to the target gateway via CNAME.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Status of the hostname's activation.
     * 
     */
    @Import(name="status")
    private @Nullable Output status;

    /**
     * @return Status of the hostname's activation.
     * 
     */
    public Optional> status() {
        return Optional.ofNullable(this.status);
    }

    /**
     * Target gateway of the hostname.
     * 
     */
    @Import(name="target")
    private @Nullable Output target;

    /**
     * @return Target gateway of the hostname.
     * 
     */
    public Optional> target() {
        return Optional.ofNullable(this.target);
    }

    /**
     * The zone identifier to target for the resource.
     * 
     */
    @Import(name="zoneId")
    private @Nullable Output zoneId;

    /**
     * @return The zone identifier to target for the resource.
     * 
     */
    public Optional> zoneId() {
        return Optional.ofNullable(this.zoneId);
    }

    private Web3HostnameState() {}

    private Web3HostnameState(Web3HostnameState $) {
        this.createdOn = $.createdOn;
        this.description = $.description;
        this.dnslink = $.dnslink;
        this.modifiedOn = $.modifiedOn;
        this.name = $.name;
        this.status = $.status;
        this.target = $.target;
        this.zoneId = $.zoneId;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(Web3HostnameState defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private Web3HostnameState $;

        public Builder() {
            $ = new Web3HostnameState();
        }

        public Builder(Web3HostnameState defaults) {
            $ = new Web3HostnameState(Objects.requireNonNull(defaults));
        }

        /**
         * @param createdOn Creation time.
         * 
         * @return builder
         * 
         */
        public Builder createdOn(@Nullable Output createdOn) {
            $.createdOn = createdOn;
            return this;
        }

        /**
         * @param createdOn Creation time.
         * 
         * @return builder
         * 
         */
        public Builder createdOn(String createdOn) {
            return createdOn(Output.of(createdOn));
        }

        /**
         * @param description An optional description of the hostname.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description An optional description of the hostname.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param dnslink DNSLink value used if the target is ipfs.
         * 
         * @return builder
         * 
         */
        public Builder dnslink(@Nullable Output dnslink) {
            $.dnslink = dnslink;
            return this;
        }

        /**
         * @param dnslink DNSLink value used if the target is ipfs.
         * 
         * @return builder
         * 
         */
        public Builder dnslink(String dnslink) {
            return dnslink(Output.of(dnslink));
        }

        /**
         * @param modifiedOn Last modification time.
         * 
         * @return builder
         * 
         */
        public Builder modifiedOn(@Nullable Output modifiedOn) {
            $.modifiedOn = modifiedOn;
            return this;
        }

        /**
         * @param modifiedOn Last modification time.
         * 
         * @return builder
         * 
         */
        public Builder modifiedOn(String modifiedOn) {
            return modifiedOn(Output.of(modifiedOn));
        }

        /**
         * @param name The hostname that will point to the target gateway via CNAME.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The hostname that will point to the target gateway via CNAME.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param status Status of the hostname's activation.
         * 
         * @return builder
         * 
         */
        public Builder status(@Nullable Output status) {
            $.status = status;
            return this;
        }

        /**
         * @param status Status of the hostname's activation.
         * 
         * @return builder
         * 
         */
        public Builder status(String status) {
            return status(Output.of(status));
        }

        /**
         * @param target Target gateway of the hostname.
         * 
         * @return builder
         * 
         */
        public Builder target(@Nullable Output target) {
            $.target = target;
            return this;
        }

        /**
         * @param target Target gateway of the hostname.
         * 
         * @return builder
         * 
         */
        public Builder target(String target) {
            return target(Output.of(target));
        }

        /**
         * @param zoneId The zone identifier to target for the resource.
         * 
         * @return builder
         * 
         */
        public Builder zoneId(@Nullable Output zoneId) {
            $.zoneId = zoneId;
            return this;
        }

        /**
         * @param zoneId The zone identifier to target for the resource.
         * 
         * @return builder
         * 
         */
        public Builder zoneId(String zoneId) {
            return zoneId(Output.of(zoneId));
        }

        public Web3HostnameState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy