com.pulumi.aws.backup.outputs.SelectionCondition 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.backup.outputs;
import com.pulumi.aws.backup.outputs.SelectionConditionStringEqual;
import com.pulumi.aws.backup.outputs.SelectionConditionStringLike;
import com.pulumi.aws.backup.outputs.SelectionConditionStringNotEqual;
import com.pulumi.aws.backup.outputs.SelectionConditionStringNotLike;
import com.pulumi.core.annotations.CustomType;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;
@CustomType
public final class SelectionCondition {
private @Nullable List stringEquals;
private @Nullable List stringLikes;
private @Nullable List stringNotEquals;
private @Nullable List stringNotLikes;
private SelectionCondition() {}
public List stringEquals() {
return this.stringEquals == null ? List.of() : this.stringEquals;
}
public List stringLikes() {
return this.stringLikes == null ? List.of() : this.stringLikes;
}
public List stringNotEquals() {
return this.stringNotEquals == null ? List.of() : this.stringNotEquals;
}
public List stringNotLikes() {
return this.stringNotLikes == null ? List.of() : this.stringNotLikes;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SelectionCondition defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List stringEquals;
private @Nullable List stringLikes;
private @Nullable List stringNotEquals;
private @Nullable List stringNotLikes;
public Builder() {}
public Builder(SelectionCondition defaults) {
Objects.requireNonNull(defaults);
this.stringEquals = defaults.stringEquals;
this.stringLikes = defaults.stringLikes;
this.stringNotEquals = defaults.stringNotEquals;
this.stringNotLikes = defaults.stringNotLikes;
}
@CustomType.Setter
public Builder stringEquals(@Nullable List stringEquals) {
this.stringEquals = stringEquals;
return this;
}
public Builder stringEquals(SelectionConditionStringEqual... stringEquals) {
return stringEquals(List.of(stringEquals));
}
@CustomType.Setter
public Builder stringLikes(@Nullable List stringLikes) {
this.stringLikes = stringLikes;
return this;
}
public Builder stringLikes(SelectionConditionStringLike... stringLikes) {
return stringLikes(List.of(stringLikes));
}
@CustomType.Setter
public Builder stringNotEquals(@Nullable List stringNotEquals) {
this.stringNotEquals = stringNotEquals;
return this;
}
public Builder stringNotEquals(SelectionConditionStringNotEqual... stringNotEquals) {
return stringNotEquals(List.of(stringNotEquals));
}
@CustomType.Setter
public Builder stringNotLikes(@Nullable List stringNotLikes) {
this.stringNotLikes = stringNotLikes;
return this;
}
public Builder stringNotLikes(SelectionConditionStringNotLike... stringNotLikes) {
return stringNotLikes(List.of(stringNotLikes));
}
public SelectionCondition build() {
final var _resultValue = new SelectionCondition();
_resultValue.stringEquals = stringEquals;
_resultValue.stringLikes = stringLikes;
_resultValue.stringNotEquals = stringNotEquals;
_resultValue.stringNotLikes = stringNotLikes;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy