Class CfnStreamProcessor.DataSharingPreferenceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.rekognition.CfnStreamProcessor.DataSharingPreferenceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStreamProcessor.DataSharingPreferenceProperty>
- Enclosing interface:
CfnStreamProcessor.DataSharingPreferenceProperty
@Stability(Stable)
public static final class CfnStreamProcessor.DataSharingPreferenceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStreamProcessor.DataSharingPreferenceProperty>
A builder for
CfnStreamProcessor.DataSharingPreferenceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnStreamProcessor.DataSharingPreferenceProperty.getOptIn()optIn(IResolvable optIn) Sets the value ofCfnStreamProcessor.DataSharingPreferenceProperty.getOptIn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
optIn
@Stability(Stable) public CfnStreamProcessor.DataSharingPreferenceProperty.Builder optIn(Boolean optIn) Sets the value ofCfnStreamProcessor.DataSharingPreferenceProperty.getOptIn()- Parameters:
optIn- Describes the opt-in status applied to a stream processor's data sharing policy. This parameter is required.- Returns:
this
-
optIn
@Stability(Stable) public CfnStreamProcessor.DataSharingPreferenceProperty.Builder optIn(IResolvable optIn) Sets the value ofCfnStreamProcessor.DataSharingPreferenceProperty.getOptIn()- Parameters:
optIn- Describes the opt-in status applied to a stream processor's data sharing policy. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStreamProcessor.DataSharingPreferenceProperty>- Returns:
- a new instance of
CfnStreamProcessor.DataSharingPreferenceProperty - Throws:
NullPointerException- if any required attribute was not provided
-