com.pulumi.alicloud.apigateway.inputs.GetLogConfigsPlainArgs 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.apigateway.inputs;
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 GetLogConfigsPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetLogConfigsPlainArgs Empty = new GetLogConfigsPlainArgs();
/**
* A list of Log Config IDs.
*
*/
@Import(name="ids")
private @Nullable List ids;
/**
* @return A list of Log Config IDs.
*
*/
public Optional> ids() {
return Optional.ofNullable(this.ids);
}
/**
* The type the of log. Valid values: `PROVIDER`.
*
*/
@Import(name="logType")
private @Nullable String logType;
/**
* @return The type the of log. Valid values: `PROVIDER`.
*
*/
public Optional logType() {
return Optional.ofNullable(this.logType);
}
/**
* 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);
}
private GetLogConfigsPlainArgs() {}
private GetLogConfigsPlainArgs(GetLogConfigsPlainArgs $) {
this.ids = $.ids;
this.logType = $.logType;
this.outputFile = $.outputFile;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetLogConfigsPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetLogConfigsPlainArgs $;
public Builder() {
$ = new GetLogConfigsPlainArgs();
}
public Builder(GetLogConfigsPlainArgs defaults) {
$ = new GetLogConfigsPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param ids A list of Log Config IDs.
*
* @return builder
*
*/
public Builder ids(@Nullable List ids) {
$.ids = ids;
return this;
}
/**
* @param ids A list of Log Config IDs.
*
* @return builder
*
*/
public Builder ids(String... ids) {
return ids(List.of(ids));
}
/**
* @param logType The type the of log. Valid values: `PROVIDER`.
*
* @return builder
*
*/
public Builder logType(@Nullable String logType) {
$.logType = logType;
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 GetLogConfigsPlainArgs build() {
return $;
}
}
}