@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StreamProcessorDataSharingPreference extends Object implements Serializable, Cloneable, StructuredPojo
Allows you to opt in or opt out to share data with Rekognition to improve model performance. You can choose this option at the account level or on a per-stream basis. Note that if you opt out at the account level this setting is ignored on individual streams.
Constructor and Description |
---|
StreamProcessorDataSharingPreference() |
Modifier and Type | Method and Description |
---|---|
StreamProcessorDataSharingPreference |
clone() |
boolean |
equals(Object obj) |
Boolean |
getOptIn()
If this option is set to true, you choose to share data with Rekognition to improve model performance.
|
int |
hashCode() |
Boolean |
isOptIn()
If this option is set to true, you choose to share data with Rekognition to improve model performance.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setOptIn(Boolean optIn)
If this option is set to true, you choose to share data with Rekognition to improve model performance.
|
String |
toString()
Returns a string representation of this object.
|
StreamProcessorDataSharingPreference |
withOptIn(Boolean optIn)
If this option is set to true, you choose to share data with Rekognition to improve model performance.
|
public StreamProcessorDataSharingPreference()
public void setOptIn(Boolean optIn)
If this option is set to true, you choose to share data with Rekognition to improve model performance.
optIn
- If this option is set to true, you choose to share data with Rekognition to improve model performance.public Boolean getOptIn()
If this option is set to true, you choose to share data with Rekognition to improve model performance.
public StreamProcessorDataSharingPreference withOptIn(Boolean optIn)
If this option is set to true, you choose to share data with Rekognition to improve model performance.
optIn
- If this option is set to true, you choose to share data with Rekognition to improve model performance.public Boolean isOptIn()
If this option is set to true, you choose to share data with Rekognition to improve model performance.
public String toString()
toString
in class Object
Object.toString()
public StreamProcessorDataSharingPreference clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.