Class CfnConfiguredModelAlgorithmAssociation.LogsConfigurationPolicyProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cleanroomsml.CfnConfiguredModelAlgorithmAssociation.LogsConfigurationPolicyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfiguredModelAlgorithmAssociation.LogsConfigurationPolicyProperty>
- Enclosing interface:
CfnConfiguredModelAlgorithmAssociation.LogsConfigurationPolicyProperty
@Stability(Stable)
public static final class CfnConfiguredModelAlgorithmAssociation.LogsConfigurationPolicyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfiguredModelAlgorithmAssociation.LogsConfigurationPolicyProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowedAccountIds(List<String> allowedAccountIds) build()Builds the configured instance.filterPattern(String filterPattern) logRedactionConfiguration(IResolvable logRedactionConfiguration) logRedactionConfiguration(CfnConfiguredModelAlgorithmAssociation.LogRedactionConfigurationProperty logRedactionConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allowedAccountIds
@Stability(Stable) public CfnConfiguredModelAlgorithmAssociation.LogsConfigurationPolicyProperty.Builder allowedAccountIds(List<String> allowedAccountIds) Sets the value ofCfnConfiguredModelAlgorithmAssociation.LogsConfigurationPolicyProperty.getAllowedAccountIds()- Parameters:
allowedAccountIds- the value to be set. This parameter is required.- Returns:
this
-
filterPattern
@Stability(Stable) public CfnConfiguredModelAlgorithmAssociation.LogsConfigurationPolicyProperty.Builder filterPattern(String filterPattern) Sets the value ofCfnConfiguredModelAlgorithmAssociation.LogsConfigurationPolicyProperty.getFilterPattern()- Parameters:
filterPattern- the value to be set.- Returns:
this
-
logRedactionConfiguration
@Stability(Stable) public CfnConfiguredModelAlgorithmAssociation.LogsConfigurationPolicyProperty.Builder logRedactionConfiguration(IResolvable logRedactionConfiguration) Sets the value ofCfnConfiguredModelAlgorithmAssociation.LogsConfigurationPolicyProperty.getLogRedactionConfiguration()- Parameters:
logRedactionConfiguration- the value to be set.- Returns:
this
-
logRedactionConfiguration
@Stability(Stable) public CfnConfiguredModelAlgorithmAssociation.LogsConfigurationPolicyProperty.Builder logRedactionConfiguration(CfnConfiguredModelAlgorithmAssociation.LogRedactionConfigurationProperty logRedactionConfiguration) Sets the value ofCfnConfiguredModelAlgorithmAssociation.LogsConfigurationPolicyProperty.getLogRedactionConfiguration()- Parameters:
logRedactionConfiguration- the value to be set.- Returns:
this
-
logType
@Stability(Stable) public CfnConfiguredModelAlgorithmAssociation.LogsConfigurationPolicyProperty.Builder logType(String logType) Sets the value ofCfnConfiguredModelAlgorithmAssociation.LogsConfigurationPolicyProperty.getLogType()- Parameters:
logType- the value to be set.- Returns:
this
-
build
@Stability(Stable) public CfnConfiguredModelAlgorithmAssociation.LogsConfigurationPolicyProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConfiguredModelAlgorithmAssociation.LogsConfigurationPolicyProperty>- Returns:
- a new instance of
CfnConfiguredModelAlgorithmAssociation.LogsConfigurationPolicyProperty - Throws:
NullPointerException- if any required attribute was not provided
-