All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.pulumi.alicloud.vpc.inputs.GetDhcpOptionsSetsArgs Maven / Gradle / Ivy
Go to download
A Pulumi package for creating and managing AliCloud 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.alicloud.vpc.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class GetDhcpOptionsSetsArgs extends com.pulumi.resources.InvokeArgs {
public static final GetDhcpOptionsSetsArgs Empty = new GetDhcpOptionsSetsArgs();
/**
* The name of the DHCP options set.The name must be 2 to 128 characters in length and can contain letters, Chinese characters, digits, underscores (_), and hyphens (-). It must start with a letter or a Chinese character.
*
*/
@Import(name="dhcpOptionsSetName")
private @Nullable Output dhcpOptionsSetName;
/**
* @return The name of the DHCP options set.The name must be 2 to 128 characters in length and can contain letters, Chinese characters, digits, underscores (_), and hyphens (-). It must start with a letter or a Chinese character.
*
*/
public Optional> dhcpOptionsSetName() {
return Optional.ofNullable(this.dhcpOptionsSetName);
}
/**
* The root domain, for example, example.com. After a DHCP options set is associated with a Virtual Private Cloud (VPC) network, the root domain in the DHCP options set is automatically synchronized to the ECS instances in the VPC network.
*
*/
@Import(name="domainName")
private @Nullable Output domainName;
/**
* @return The root domain, for example, example.com. After a DHCP options set is associated with a Virtual Private Cloud (VPC) network, the root domain in the DHCP options set is automatically synchronized to the ECS instances in the VPC network.
*
*/
public Optional> domainName() {
return Optional.ofNullable(this.domainName);
}
/**
* A list of Dhcp Options Set IDs.
*
*/
@Import(name="ids")
private @Nullable Output> ids;
/**
* @return A list of Dhcp Options Set IDs.
*
*/
public Optional>> ids() {
return Optional.ofNullable(this.ids);
}
/**
* A regex string to filter results by Dhcp Options Set name.
*
*/
@Import(name="nameRegex")
private @Nullable Output nameRegex;
/**
* @return A regex string to filter results by Dhcp Options Set name.
*
*/
public Optional> nameRegex() {
return Optional.ofNullable(this.nameRegex);
}
/**
* File name where to save data source results (after running `pulumi preview`).
*
*/
@Import(name="outputFile")
private @Nullable Output outputFile;
/**
* @return File name where to save data source results (after running `pulumi preview`).
*
*/
public Optional> outputFile() {
return Optional.ofNullable(this.outputFile);
}
/**
* The status of the DHCP options set. Valid values: `Available`, `InUse` or `Pending`. `Available`: The DHCP options set is available for use. `InUse`: The DHCP options set is in use. `Pending`: The DHCP options set is being configured.
*
*/
@Import(name="status")
private @Nullable Output status;
/**
* @return The status of the DHCP options set. Valid values: `Available`, `InUse` or `Pending`. `Available`: The DHCP options set is available for use. `InUse`: The DHCP options set is in use. `Pending`: The DHCP options set is being configured.
*
*/
public Optional> status() {
return Optional.ofNullable(this.status);
}
private GetDhcpOptionsSetsArgs() {}
private GetDhcpOptionsSetsArgs(GetDhcpOptionsSetsArgs $) {
this.dhcpOptionsSetName = $.dhcpOptionsSetName;
this.domainName = $.domainName;
this.ids = $.ids;
this.nameRegex = $.nameRegex;
this.outputFile = $.outputFile;
this.status = $.status;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetDhcpOptionsSetsArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetDhcpOptionsSetsArgs $;
public Builder() {
$ = new GetDhcpOptionsSetsArgs();
}
public Builder(GetDhcpOptionsSetsArgs defaults) {
$ = new GetDhcpOptionsSetsArgs(Objects.requireNonNull(defaults));
}
/**
* @param dhcpOptionsSetName The name of the DHCP options set.The name must be 2 to 128 characters in length and can contain letters, Chinese characters, digits, underscores (_), and hyphens (-). It must start with a letter or a Chinese character.
*
* @return builder
*
*/
public Builder dhcpOptionsSetName(@Nullable Output dhcpOptionsSetName) {
$.dhcpOptionsSetName = dhcpOptionsSetName;
return this;
}
/**
* @param dhcpOptionsSetName The name of the DHCP options set.The name must be 2 to 128 characters in length and can contain letters, Chinese characters, digits, underscores (_), and hyphens (-). It must start with a letter or a Chinese character.
*
* @return builder
*
*/
public Builder dhcpOptionsSetName(String dhcpOptionsSetName) {
return dhcpOptionsSetName(Output.of(dhcpOptionsSetName));
}
/**
* @param domainName The root domain, for example, example.com. After a DHCP options set is associated with a Virtual Private Cloud (VPC) network, the root domain in the DHCP options set is automatically synchronized to the ECS instances in the VPC network.
*
* @return builder
*
*/
public Builder domainName(@Nullable Output domainName) {
$.domainName = domainName;
return this;
}
/**
* @param domainName The root domain, for example, example.com. After a DHCP options set is associated with a Virtual Private Cloud (VPC) network, the root domain in the DHCP options set is automatically synchronized to the ECS instances in the VPC network.
*
* @return builder
*
*/
public Builder domainName(String domainName) {
return domainName(Output.of(domainName));
}
/**
* @param ids A list of Dhcp Options Set IDs.
*
* @return builder
*
*/
public Builder ids(@Nullable Output> ids) {
$.ids = ids;
return this;
}
/**
* @param ids A list of Dhcp Options Set IDs.
*
* @return builder
*
*/
public Builder ids(List ids) {
return ids(Output.of(ids));
}
/**
* @param ids A list of Dhcp Options Set IDs.
*
* @return builder
*
*/
public Builder ids(String... ids) {
return ids(List.of(ids));
}
/**
* @param nameRegex A regex string to filter results by Dhcp Options Set name.
*
* @return builder
*
*/
public Builder nameRegex(@Nullable Output nameRegex) {
$.nameRegex = nameRegex;
return this;
}
/**
* @param nameRegex A regex string to filter results by Dhcp Options Set name.
*
* @return builder
*
*/
public Builder nameRegex(String nameRegex) {
return nameRegex(Output.of(nameRegex));
}
/**
* @param outputFile File name where to save data source results (after running `pulumi preview`).
*
* @return builder
*
*/
public Builder outputFile(@Nullable Output outputFile) {
$.outputFile = outputFile;
return this;
}
/**
* @param outputFile File name where to save data source results (after running `pulumi preview`).
*
* @return builder
*
*/
public Builder outputFile(String outputFile) {
return outputFile(Output.of(outputFile));
}
/**
* @param status The status of the DHCP options set. Valid values: `Available`, `InUse` or `Pending`. `Available`: The DHCP options set is available for use. `InUse`: The DHCP options set is in use. `Pending`: The DHCP options set is being configured.
*
* @return builder
*
*/
public Builder status(@Nullable Output status) {
$.status = status;
return this;
}
/**
* @param status The status of the DHCP options set. Valid values: `Available`, `InUse` or `Pending`. `Available`: The DHCP options set is available for use. `InUse`: The DHCP options set is in use. `Pending`: The DHCP options set is being configured.
*
* @return builder
*
*/
public Builder status(String status) {
return status(Output.of(status));
}
public GetDhcpOptionsSetsArgs build() {
return $;
}
}
}