com.pulumi.alicloud.eflo.inputs.GetSubnetsPlainArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alicloud Show documentation
Show all versions of alicloud Show documentation
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.eflo.inputs;
import com.pulumi.core.annotations.Import;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class GetSubnetsPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetSubnetsPlainArgs Empty = new GetSubnetsPlainArgs();
@Import(name="ids")
private @Nullable List ids;
public Optional> ids() {
return Optional.ofNullable(this.ids);
}
/**
* A regex string to filter results by Group Metric Rule name.
*
*/
@Import(name="nameRegex")
private @Nullable String nameRegex;
/**
* @return A regex string to filter results by Group Metric Rule 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 String outputFile;
/**
* @return File name where to save data source results (after running `pulumi preview`).
*
*/
public Optional outputFile() {
return Optional.ofNullable(this.outputFile);
}
@Import(name="pageNumber")
private @Nullable Integer pageNumber;
public Optional pageNumber() {
return Optional.ofNullable(this.pageNumber);
}
@Import(name="pageSize")
private @Nullable Integer pageSize;
public Optional pageSize() {
return Optional.ofNullable(this.pageSize);
}
/**
* Resource Group ID.
*
*/
@Import(name="resourceGroupId")
private @Nullable String resourceGroupId;
/**
* @return Resource Group ID.
*
*/
public Optional resourceGroupId() {
return Optional.ofNullable(this.resourceGroupId);
}
/**
* The status of the resource.
*
*/
@Import(name="status")
private @Nullable String status;
/**
* @return The status of the resource.
*
*/
public Optional status() {
return Optional.ofNullable(this.status);
}
/**
* Primary key ID.
*
*/
@Import(name="subnetId")
private @Nullable String subnetId;
/**
* @return Primary key ID.
*
*/
public Optional subnetId() {
return Optional.ofNullable(this.subnetId);
}
/**
* The Subnet name.
*
*/
@Import(name="subnetName")
private @Nullable String subnetName;
/**
* @return The Subnet name.
*
*/
public Optional subnetName() {
return Optional.ofNullable(this.subnetName);
}
/**
* Eflo subnet usage type, optional value:
* - General type is not filled in
* - OOB:OOB type
* - LB: LB type
*
*/
@Import(name="type")
private @Nullable String type;
/**
* @return Eflo subnet usage type, optional value:
* - General type is not filled in
* - OOB:OOB type
* - LB: LB type
*
*/
public Optional type() {
return Optional.ofNullable(this.type);
}
/**
* The Eflo VPD ID.
*
*/
@Import(name="vpdId")
private @Nullable String vpdId;
/**
* @return The Eflo VPD ID.
*
*/
public Optional vpdId() {
return Optional.ofNullable(this.vpdId);
}
/**
* The zone ID of the resource.
*
*/
@Import(name="zoneId")
private @Nullable String zoneId;
/**
* @return The zone ID of the resource.
*
*/
public Optional zoneId() {
return Optional.ofNullable(this.zoneId);
}
private GetSubnetsPlainArgs() {}
private GetSubnetsPlainArgs(GetSubnetsPlainArgs $) {
this.ids = $.ids;
this.nameRegex = $.nameRegex;
this.outputFile = $.outputFile;
this.pageNumber = $.pageNumber;
this.pageSize = $.pageSize;
this.resourceGroupId = $.resourceGroupId;
this.status = $.status;
this.subnetId = $.subnetId;
this.subnetName = $.subnetName;
this.type = $.type;
this.vpdId = $.vpdId;
this.zoneId = $.zoneId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetSubnetsPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetSubnetsPlainArgs $;
public Builder() {
$ = new GetSubnetsPlainArgs();
}
public Builder(GetSubnetsPlainArgs defaults) {
$ = new GetSubnetsPlainArgs(Objects.requireNonNull(defaults));
}
public Builder ids(@Nullable List ids) {
$.ids = ids;
return this;
}
public Builder ids(String... ids) {
return ids(List.of(ids));
}
/**
* @param nameRegex A regex string to filter results by Group Metric Rule name.
*
* @return builder
*
*/
public Builder nameRegex(@Nullable String nameRegex) {
$.nameRegex = nameRegex;
return this;
}
/**
* @param outputFile File name where to save data source results (after running `pulumi preview`).
*
* @return builder
*
*/
public Builder outputFile(@Nullable String outputFile) {
$.outputFile = outputFile;
return this;
}
public Builder pageNumber(@Nullable Integer pageNumber) {
$.pageNumber = pageNumber;
return this;
}
public Builder pageSize(@Nullable Integer pageSize) {
$.pageSize = pageSize;
return this;
}
/**
* @param resourceGroupId Resource Group ID.
*
* @return builder
*
*/
public Builder resourceGroupId(@Nullable String resourceGroupId) {
$.resourceGroupId = resourceGroupId;
return this;
}
/**
* @param status The status of the resource.
*
* @return builder
*
*/
public Builder status(@Nullable String status) {
$.status = status;
return this;
}
/**
* @param subnetId Primary key ID.
*
* @return builder
*
*/
public Builder subnetId(@Nullable String subnetId) {
$.subnetId = subnetId;
return this;
}
/**
* @param subnetName The Subnet name.
*
* @return builder
*
*/
public Builder subnetName(@Nullable String subnetName) {
$.subnetName = subnetName;
return this;
}
/**
* @param type Eflo subnet usage type, optional value:
* - General type is not filled in
* - OOB:OOB type
* - LB: LB type
*
* @return builder
*
*/
public Builder type(@Nullable String type) {
$.type = type;
return this;
}
/**
* @param vpdId The Eflo VPD ID.
*
* @return builder
*
*/
public Builder vpdId(@Nullable String vpdId) {
$.vpdId = vpdId;
return this;
}
/**
* @param zoneId The zone ID of the resource.
*
* @return builder
*
*/
public Builder zoneId(@Nullable String zoneId) {
$.zoneId = zoneId;
return this;
}
public GetSubnetsPlainArgs build() {
return $;
}
}
}