com.pulumi.aws.macie2.outputs.ClassificationJobS3JobDefinitionScopingIncludesAnd 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.ClassificationJobS3JobDefinitionScopingIncludesAndSimpleScopeTerm;
import com.pulumi.aws.macie2.outputs.ClassificationJobS3JobDefinitionScopingIncludesAndTagScopeTerm;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ClassificationJobS3JobDefinitionScopingIncludesAnd {
/**
* @return A property-based condition that defines a property, operator, and one or more values for including or excluding an object from the job. (documented below)
*
*/
private @Nullable ClassificationJobS3JobDefinitionScopingIncludesAndSimpleScopeTerm simpleScopeTerm;
/**
* @return A tag-based condition that defines the operator and tag keys or tag key and value pairs for including or excluding an object from the job. (documented below)
*
*/
private @Nullable ClassificationJobS3JobDefinitionScopingIncludesAndTagScopeTerm tagScopeTerm;
private ClassificationJobS3JobDefinitionScopingIncludesAnd() {}
/**
* @return A property-based condition that defines a property, operator, and one or more values for including or excluding an object from the job. (documented below)
*
*/
public Optional simpleScopeTerm() {
return Optional.ofNullable(this.simpleScopeTerm);
}
/**
* @return A tag-based condition that defines the operator and tag keys or tag key and value pairs for including or excluding an object from the job. (documented below)
*
*/
public Optional tagScopeTerm() {
return Optional.ofNullable(this.tagScopeTerm);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ClassificationJobS3JobDefinitionScopingIncludesAnd defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable ClassificationJobS3JobDefinitionScopingIncludesAndSimpleScopeTerm simpleScopeTerm;
private @Nullable ClassificationJobS3JobDefinitionScopingIncludesAndTagScopeTerm tagScopeTerm;
public Builder() {}
public Builder(ClassificationJobS3JobDefinitionScopingIncludesAnd defaults) {
Objects.requireNonNull(defaults);
this.simpleScopeTerm = defaults.simpleScopeTerm;
this.tagScopeTerm = defaults.tagScopeTerm;
}
@CustomType.Setter
public Builder simpleScopeTerm(@Nullable ClassificationJobS3JobDefinitionScopingIncludesAndSimpleScopeTerm simpleScopeTerm) {
this.simpleScopeTerm = simpleScopeTerm;
return this;
}
@CustomType.Setter
public Builder tagScopeTerm(@Nullable ClassificationJobS3JobDefinitionScopingIncludesAndTagScopeTerm tagScopeTerm) {
this.tagScopeTerm = tagScopeTerm;
return this;
}
public ClassificationJobS3JobDefinitionScopingIncludesAnd build() {
final var _resultValue = new ClassificationJobS3JobDefinitionScopingIncludesAnd();
_resultValue.simpleScopeTerm = simpleScopeTerm;
_resultValue.tagScopeTerm = tagScopeTerm;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy