Class CfnLicense.ProvisionalConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.licensemanager.CfnLicense.ProvisionalConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLicense.ProvisionalConfigurationProperty>
- Enclosing interface:
CfnLicense.ProvisionalConfigurationProperty
@Stability(Stable)
public static final class CfnLicense.ProvisionalConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLicense.ProvisionalConfigurationProperty>
A builder for
CfnLicense.ProvisionalConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.maxTimeToLiveInMinutes
(Number maxTimeToLiveInMinutes) Sets the value ofCfnLicense.ProvisionalConfigurationProperty.getMaxTimeToLiveInMinutes()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maxTimeToLiveInMinutes
@Stability(Stable) public CfnLicense.ProvisionalConfigurationProperty.Builder maxTimeToLiveInMinutes(Number maxTimeToLiveInMinutes) Sets the value ofCfnLicense.ProvisionalConfigurationProperty.getMaxTimeToLiveInMinutes()
- Parameters:
maxTimeToLiveInMinutes
- Maximum time for the provisional configuration, in minutes. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnLicense.ProvisionalConfigurationProperty>
- Returns:
- a new instance of
CfnLicense.ProvisionalConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-