Class CfnHarnessPropsMixin.LifecycleConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrockagentcore.CfnHarnessPropsMixin.LifecycleConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHarnessPropsMixin.LifecycleConfigurationProperty>
- Enclosing interface:
CfnHarnessPropsMixin.LifecycleConfigurationProperty
@Stability(Stable)
public static final class CfnHarnessPropsMixin.LifecycleConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHarnessPropsMixin.LifecycleConfigurationProperty>
A builder for
CfnHarnessPropsMixin.LifecycleConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.idleRuntimeSessionTimeout(Number idleRuntimeSessionTimeout) maxLifetime(Number maxLifetime) Sets the value ofCfnHarnessPropsMixin.LifecycleConfigurationProperty.getMaxLifetime()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
idleRuntimeSessionTimeout
@Stability(Stable) public CfnHarnessPropsMixin.LifecycleConfigurationProperty.Builder idleRuntimeSessionTimeout(Number idleRuntimeSessionTimeout) Sets the value ofCfnHarnessPropsMixin.LifecycleConfigurationProperty.getIdleRuntimeSessionTimeout()- Parameters:
idleRuntimeSessionTimeout- the value to be set.- Returns:
this
-
maxLifetime
@Stability(Stable) public CfnHarnessPropsMixin.LifecycleConfigurationProperty.Builder maxLifetime(Number maxLifetime) Sets the value ofCfnHarnessPropsMixin.LifecycleConfigurationProperty.getMaxLifetime()- Parameters:
maxLifetime- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnHarnessPropsMixin.LifecycleConfigurationProperty>- Returns:
- a new instance of
CfnHarnessPropsMixin.LifecycleConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-