com.pulumi.aws.devopsguru.inputs.GetResourceCollectionPlainArgs 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.
// *** 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.devopsguru.inputs;
import com.pulumi.aws.devopsguru.inputs.GetResourceCollectionCloudformation;
import com.pulumi.aws.devopsguru.inputs.GetResourceCollectionTag;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class GetResourceCollectionPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetResourceCollectionPlainArgs Empty = new GetResourceCollectionPlainArgs();
/**
* A collection of AWS CloudFormation stacks. See `cloudformation` below for additional details.
*
*/
@Import(name="cloudformations")
private @Nullable List cloudformations;
/**
* @return A collection of AWS CloudFormation stacks. See `cloudformation` below for additional details.
*
*/
public Optional> cloudformations() {
return Optional.ofNullable(this.cloudformations);
}
/**
* AWS tags used to filter the resources in the resource collection. See `tags` below for additional details.
*
*/
@Import(name="tags")
private @Nullable List tags;
/**
* @return AWS tags used to filter the resources in the resource collection. See `tags` below for additional details.
*
*/
public Optional> tags() {
return Optional.ofNullable(this.tags);
}
/**
* Type of AWS resource collection to create. Valid values are `AWS_CLOUD_FORMATION`, `AWS_SERVICE`, and `AWS_TAGS`.
*
*/
@Import(name="type", required=true)
private String type;
/**
* @return Type of AWS resource collection to create. Valid values are `AWS_CLOUD_FORMATION`, `AWS_SERVICE`, and `AWS_TAGS`.
*
*/
public String type() {
return this.type;
}
private GetResourceCollectionPlainArgs() {}
private GetResourceCollectionPlainArgs(GetResourceCollectionPlainArgs $) {
this.cloudformations = $.cloudformations;
this.tags = $.tags;
this.type = $.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetResourceCollectionPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetResourceCollectionPlainArgs $;
public Builder() {
$ = new GetResourceCollectionPlainArgs();
}
public Builder(GetResourceCollectionPlainArgs defaults) {
$ = new GetResourceCollectionPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param cloudformations A collection of AWS CloudFormation stacks. See `cloudformation` below for additional details.
*
* @return builder
*
*/
public Builder cloudformations(@Nullable List cloudformations) {
$.cloudformations = cloudformations;
return this;
}
/**
* @param cloudformations A collection of AWS CloudFormation stacks. See `cloudformation` below for additional details.
*
* @return builder
*
*/
public Builder cloudformations(GetResourceCollectionCloudformation... cloudformations) {
return cloudformations(List.of(cloudformations));
}
/**
* @param tags AWS tags used to filter the resources in the resource collection. See `tags` below for additional details.
*
* @return builder
*
*/
public Builder tags(@Nullable List tags) {
$.tags = tags;
return this;
}
/**
* @param tags AWS tags used to filter the resources in the resource collection. See `tags` below for additional details.
*
* @return builder
*
*/
public Builder tags(GetResourceCollectionTag... tags) {
return tags(List.of(tags));
}
/**
* @param type Type of AWS resource collection to create. Valid values are `AWS_CLOUD_FORMATION`, `AWS_SERVICE`, and `AWS_TAGS`.
*
* @return builder
*
*/
public Builder type(String type) {
$.type = type;
return this;
}
public GetResourceCollectionPlainArgs build() {
if ($.type == null) {
throw new MissingRequiredPropertyException("GetResourceCollectionPlainArgs", "type");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy