Class CfnLicensePropsMixin.BorrowConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.licensemanager.CfnLicensePropsMixin.BorrowConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLicensePropsMixin.BorrowConfigurationProperty>
- Enclosing interface:
CfnLicensePropsMixin.BorrowConfigurationProperty
@Stability(Stable)
public static final class CfnLicensePropsMixin.BorrowConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLicensePropsMixin.BorrowConfigurationProperty>
A builder for
CfnLicensePropsMixin.BorrowConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowEarlyCheckIn(Boolean allowEarlyCheckIn) Sets the value ofCfnLicensePropsMixin.BorrowConfigurationProperty.getAllowEarlyCheckIn()allowEarlyCheckIn(IResolvable allowEarlyCheckIn) Sets the value ofCfnLicensePropsMixin.BorrowConfigurationProperty.getAllowEarlyCheckIn()build()Builds the configured instance.maxTimeToLiveInMinutes(Number maxTimeToLiveInMinutes)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allowEarlyCheckIn
@Stability(Stable) public CfnLicensePropsMixin.BorrowConfigurationProperty.Builder allowEarlyCheckIn(Boolean allowEarlyCheckIn) Sets the value ofCfnLicensePropsMixin.BorrowConfigurationProperty.getAllowEarlyCheckIn()- Parameters:
allowEarlyCheckIn- Indicates whether early check-ins are allowed.- Returns:
this
-
allowEarlyCheckIn
@Stability(Stable) public CfnLicensePropsMixin.BorrowConfigurationProperty.Builder allowEarlyCheckIn(IResolvable allowEarlyCheckIn) Sets the value ofCfnLicensePropsMixin.BorrowConfigurationProperty.getAllowEarlyCheckIn()- Parameters:
allowEarlyCheckIn- Indicates whether early check-ins are allowed.- Returns:
this
-
maxTimeToLiveInMinutes
@Stability(Stable) public CfnLicensePropsMixin.BorrowConfigurationProperty.Builder maxTimeToLiveInMinutes(Number maxTimeToLiveInMinutes) - Parameters:
maxTimeToLiveInMinutes- Maximum time for the borrow configuration, in minutes.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLicensePropsMixin.BorrowConfigurationProperty>- Returns:
- a new instance of
CfnLicensePropsMixin.BorrowConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-