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