com.pulumi.azurenative.storage.outputs.ExecutionTargetResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure 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.azurenative.storage.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;
@CustomType
public final class ExecutionTargetResponse {
/**
* @return List of object prefixes to be excluded from task execution. If there is a conflict between include and exclude prefixes, the exclude prefix will be the determining factor
*
*/
private @Nullable List excludePrefix;
/**
* @return Required list of object prefixes to be included for task execution
*
*/
private @Nullable List prefix;
private ExecutionTargetResponse() {}
/**
* @return List of object prefixes to be excluded from task execution. If there is a conflict between include and exclude prefixes, the exclude prefix will be the determining factor
*
*/
public List excludePrefix() {
return this.excludePrefix == null ? List.of() : this.excludePrefix;
}
/**
* @return Required list of object prefixes to be included for task execution
*
*/
public List prefix() {
return this.prefix == null ? List.of() : this.prefix;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ExecutionTargetResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List excludePrefix;
private @Nullable List prefix;
public Builder() {}
public Builder(ExecutionTargetResponse defaults) {
Objects.requireNonNull(defaults);
this.excludePrefix = defaults.excludePrefix;
this.prefix = defaults.prefix;
}
@CustomType.Setter
public Builder excludePrefix(@Nullable List excludePrefix) {
this.excludePrefix = excludePrefix;
return this;
}
public Builder excludePrefix(String... excludePrefix) {
return excludePrefix(List.of(excludePrefix));
}
@CustomType.Setter
public Builder prefix(@Nullable List prefix) {
this.prefix = prefix;
return this;
}
public Builder prefix(String... prefix) {
return prefix(List.of(prefix));
}
public ExecutionTargetResponse build() {
final var _resultValue = new ExecutionTargetResponse();
_resultValue.excludePrefix = excludePrefix;
_resultValue.prefix = prefix;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy