com.pulumi.aws.macie2.outputs.ClassificationJobS3JobDefinitionScopingExcludesAndSimpleScopeTerm 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.macie2.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ClassificationJobS3JobDefinitionScopingExcludesAndSimpleScopeTerm {
/**
* @return The operator to use in a condition. Valid values are: `EQ`, `GT`, `GTE`, `LT`, `LTE`, `NE`, `CONTAINS`, `STARTS_WITH`
*
*/
private @Nullable String comparator;
/**
* @return The object property to use in the condition.
*
*/
private @Nullable String key;
/**
* @return An array that lists the values to use in the condition.
*
*/
private @Nullable List values;
private ClassificationJobS3JobDefinitionScopingExcludesAndSimpleScopeTerm() {}
/**
* @return The operator to use in a condition. Valid values are: `EQ`, `GT`, `GTE`, `LT`, `LTE`, `NE`, `CONTAINS`, `STARTS_WITH`
*
*/
public Optional comparator() {
return Optional.ofNullable(this.comparator);
}
/**
* @return The object property to use in the condition.
*
*/
public Optional key() {
return Optional.ofNullable(this.key);
}
/**
* @return An array that lists the values to use in the condition.
*
*/
public List values() {
return this.values == null ? List.of() : this.values;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ClassificationJobS3JobDefinitionScopingExcludesAndSimpleScopeTerm defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String comparator;
private @Nullable String key;
private @Nullable List values;
public Builder() {}
public Builder(ClassificationJobS3JobDefinitionScopingExcludesAndSimpleScopeTerm defaults) {
Objects.requireNonNull(defaults);
this.comparator = defaults.comparator;
this.key = defaults.key;
this.values = defaults.values;
}
@CustomType.Setter
public Builder comparator(@Nullable String comparator) {
this.comparator = comparator;
return this;
}
@CustomType.Setter
public Builder key(@Nullable String key) {
this.key = key;
return this;
}
@CustomType.Setter
public Builder values(@Nullable List values) {
this.values = values;
return this;
}
public Builder values(String... values) {
return values(List.of(values));
}
public ClassificationJobS3JobDefinitionScopingExcludesAndSimpleScopeTerm build() {
final var _resultValue = new ClassificationJobS3JobDefinitionScopingExcludesAndSimpleScopeTerm();
_resultValue.comparator = comparator;
_resultValue.key = key;
_resultValue.values = values;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy