com.pulumi.cloudflare.PagesDomainArgs 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;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
public final class PagesDomainArgs extends com.pulumi.resources.ResourceArgs {
public static final PagesDomainArgs Empty = new PagesDomainArgs();
/**
* The account identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
*
*/
@Import(name="accountId", required=true)
private Output accountId;
/**
* @return The account identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
*
*/
public Output accountId() {
return this.accountId;
}
/**
* Custom domain. **Modifying this attribute will force creation of a new resource.**
*
*/
@Import(name="domain", required=true)
private Output domain;
/**
* @return Custom domain. **Modifying this attribute will force creation of a new resource.**
*
*/
public Output domain() {
return this.domain;
}
/**
* Name of the Pages Project. **Modifying this attribute will force creation of a new resource.**
*
*/
@Import(name="projectName", required=true)
private Output projectName;
/**
* @return Name of the Pages Project. **Modifying this attribute will force creation of a new resource.**
*
*/
public Output projectName() {
return this.projectName;
}
private PagesDomainArgs() {}
private PagesDomainArgs(PagesDomainArgs $) {
this.accountId = $.accountId;
this.domain = $.domain;
this.projectName = $.projectName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(PagesDomainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private PagesDomainArgs $;
public Builder() {
$ = new PagesDomainArgs();
}
public Builder(PagesDomainArgs defaults) {
$ = new PagesDomainArgs(Objects.requireNonNull(defaults));
}
/**
* @param accountId The account identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
*
* @return builder
*
*/
public Builder accountId(Output accountId) {
$.accountId = accountId;
return this;
}
/**
* @param accountId The account identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
*
* @return builder
*
*/
public Builder accountId(String accountId) {
return accountId(Output.of(accountId));
}
/**
* @param domain Custom domain. **Modifying this attribute will force creation of a new resource.**
*
* @return builder
*
*/
public Builder domain(Output domain) {
$.domain = domain;
return this;
}
/**
* @param domain Custom domain. **Modifying this attribute will force creation of a new resource.**
*
* @return builder
*
*/
public Builder domain(String domain) {
return domain(Output.of(domain));
}
/**
* @param projectName Name of the Pages Project. **Modifying this attribute will force creation of a new resource.**
*
* @return builder
*
*/
public Builder projectName(Output projectName) {
$.projectName = projectName;
return this;
}
/**
* @param projectName Name of the Pages Project. **Modifying this attribute will force creation of a new resource.**
*
* @return builder
*
*/
public Builder projectName(String projectName) {
return projectName(Output.of(projectName));
}
public PagesDomainArgs build() {
$.accountId = Objects.requireNonNull($.accountId, "expected parameter 'accountId' to be non-null");
$.domain = Objects.requireNonNull($.domain, "expected parameter 'domain' to be non-null");
$.projectName = Objects.requireNonNull($.projectName, "expected parameter 'projectName' to be non-null");
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy