com.pulumi.aws.devopsguru.inputs.ResourceCollectionCloudformationArgs 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.devopsguru.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
public final class ResourceCollectionCloudformationArgs extends com.pulumi.resources.ResourceArgs {
public static final ResourceCollectionCloudformationArgs Empty = new ResourceCollectionCloudformationArgs();
/**
* Array of the names of the AWS CloudFormation stacks. If `type` is `AWS_SERVICE` (all acccount resources) this array should be a single item containing a wildcard (`"*"`).
*
*/
@Import(name="stackNames", required=true)
private Output> stackNames;
/**
* @return Array of the names of the AWS CloudFormation stacks. If `type` is `AWS_SERVICE` (all acccount resources) this array should be a single item containing a wildcard (`"*"`).
*
*/
public Output> stackNames() {
return this.stackNames;
}
private ResourceCollectionCloudformationArgs() {}
private ResourceCollectionCloudformationArgs(ResourceCollectionCloudformationArgs $) {
this.stackNames = $.stackNames;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ResourceCollectionCloudformationArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private ResourceCollectionCloudformationArgs $;
public Builder() {
$ = new ResourceCollectionCloudformationArgs();
}
public Builder(ResourceCollectionCloudformationArgs defaults) {
$ = new ResourceCollectionCloudformationArgs(Objects.requireNonNull(defaults));
}
/**
* @param stackNames Array of the names of the AWS CloudFormation stacks. If `type` is `AWS_SERVICE` (all acccount resources) this array should be a single item containing a wildcard (`"*"`).
*
* @return builder
*
*/
public Builder stackNames(Output> stackNames) {
$.stackNames = stackNames;
return this;
}
/**
* @param stackNames Array of the names of the AWS CloudFormation stacks. If `type` is `AWS_SERVICE` (all acccount resources) this array should be a single item containing a wildcard (`"*"`).
*
* @return builder
*
*/
public Builder stackNames(List stackNames) {
return stackNames(Output.of(stackNames));
}
/**
* @param stackNames Array of the names of the AWS CloudFormation stacks. If `type` is `AWS_SERVICE` (all acccount resources) this array should be a single item containing a wildcard (`"*"`).
*
* @return builder
*
*/
public Builder stackNames(String... stackNames) {
return stackNames(List.of(stackNames));
}
public ResourceCollectionCloudformationArgs build() {
if ($.stackNames == null) {
throw new MissingRequiredPropertyException("ResourceCollectionCloudformationArgs", "stackNames");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy