com.pulumi.aws.autoscaling.inputs.GetAmiIdsPlainArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
The newest version!
// *** 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.aws.autoscaling.inputs;
import com.pulumi.aws.autoscaling.inputs.GetAmiIdsFilter;
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 GetAmiIdsPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetAmiIdsPlainArgs Empty = new GetAmiIdsPlainArgs();
/**
* Filter used to scope the list e.g., by tags. See [related docs](http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_Filter.html).
*
*/
@Import(name="filters")
private @Nullable List filters;
/**
* @return Filter used to scope the list e.g., by tags. See [related docs](http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_Filter.html).
*
*/
public Optional> filters() {
return Optional.ofNullable(this.filters);
}
/**
* List of autoscaling group names
*
*/
@Import(name="names")
private @Nullable List names;
/**
* @return List of autoscaling group names
*
*/
public Optional> names() {
return Optional.ofNullable(this.names);
}
private GetAmiIdsPlainArgs() {}
private GetAmiIdsPlainArgs(GetAmiIdsPlainArgs $) {
this.filters = $.filters;
this.names = $.names;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetAmiIdsPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetAmiIdsPlainArgs $;
public Builder() {
$ = new GetAmiIdsPlainArgs();
}
public Builder(GetAmiIdsPlainArgs defaults) {
$ = new GetAmiIdsPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param filters Filter used to scope the list e.g., by tags. See [related docs](http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_Filter.html).
*
* @return builder
*
*/
public Builder filters(@Nullable List filters) {
$.filters = filters;
return this;
}
/**
* @param filters Filter used to scope the list e.g., by tags. See [related docs](http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_Filter.html).
*
* @return builder
*
*/
public Builder filters(GetAmiIdsFilter... filters) {
return filters(List.of(filters));
}
/**
* @param names List of autoscaling group names
*
* @return builder
*
*/
public Builder names(@Nullable List names) {
$.names = names;
return this;
}
/**
* @param names List of autoscaling group names
*
* @return builder
*
*/
public Builder names(String... names) {
return names(List.of(names));
}
public GetAmiIdsPlainArgs build() {
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy