com.pulumi.aws.rekognition.outputs.StreamProcessorSettingsConnectedHome 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.rekognition.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Double;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class StreamProcessorSettingsConnectedHome {
/**
* @return Specifies what you want to detect in the video, such as people, packages, or pets. The current valid labels you can include in this list are: `PERSON`, `PET`, `PACKAGE`, and `ALL`.
*
*/
private @Nullable List labels;
/**
* @return Minimum confidence required to label an object in the video.
*
*/
private @Nullable Double minConfidence;
private StreamProcessorSettingsConnectedHome() {}
/**
* @return Specifies what you want to detect in the video, such as people, packages, or pets. The current valid labels you can include in this list are: `PERSON`, `PET`, `PACKAGE`, and `ALL`.
*
*/
public List labels() {
return this.labels == null ? List.of() : this.labels;
}
/**
* @return Minimum confidence required to label an object in the video.
*
*/
public Optional minConfidence() {
return Optional.ofNullable(this.minConfidence);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(StreamProcessorSettingsConnectedHome defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List labels;
private @Nullable Double minConfidence;
public Builder() {}
public Builder(StreamProcessorSettingsConnectedHome defaults) {
Objects.requireNonNull(defaults);
this.labels = defaults.labels;
this.minConfidence = defaults.minConfidence;
}
@CustomType.Setter
public Builder labels(@Nullable List labels) {
this.labels = labels;
return this;
}
public Builder labels(String... labels) {
return labels(List.of(labels));
}
@CustomType.Setter
public Builder minConfidence(@Nullable Double minConfidence) {
this.minConfidence = minConfidence;
return this;
}
public StreamProcessorSettingsConnectedHome build() {
final var _resultValue = new StreamProcessorSettingsConnectedHome();
_resultValue.labels = labels;
_resultValue.minConfidence = minConfidence;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy