com.pulumi.aws.macie2.outputs.ClassificationJobS3JobDefinitionBucketCriteriaIncludes Maven / Gradle / Ivy
// *** 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.macie2.outputs;
import com.pulumi.aws.macie2.outputs.ClassificationJobS3JobDefinitionBucketCriteriaIncludesAnd;
import com.pulumi.core.annotations.CustomType;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;
@CustomType
public final class ClassificationJobS3JobDefinitionBucketCriteriaIncludes {
/**
* @return An array of conditions, one for each condition that determines which objects to include or exclude from the job. (documented below)
*
*/
private @Nullable List ands;
private ClassificationJobS3JobDefinitionBucketCriteriaIncludes() {}
/**
* @return An array of conditions, one for each condition that determines which objects to include or exclude from the job. (documented below)
*
*/
public List ands() {
return this.ands == null ? List.of() : this.ands;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ClassificationJobS3JobDefinitionBucketCriteriaIncludes defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List ands;
public Builder() {}
public Builder(ClassificationJobS3JobDefinitionBucketCriteriaIncludes defaults) {
Objects.requireNonNull(defaults);
this.ands = defaults.ands;
}
@CustomType.Setter
public Builder ands(@Nullable List ands) {
this.ands = ands;
return this;
}
public Builder ands(ClassificationJobS3JobDefinitionBucketCriteriaIncludesAnd... ands) {
return ands(List.of(ands));
}
public ClassificationJobS3JobDefinitionBucketCriteriaIncludes build() {
final var _resultValue = new ClassificationJobS3JobDefinitionBucketCriteriaIncludes();
_resultValue.ands = ands;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy