Class CfnTemplate.GeneralFlagsV4Property.Builder
java.lang.Object
software.amazon.awscdk.services.pcaconnectorad.CfnTemplate.GeneralFlagsV4Property.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.GeneralFlagsV4Property>
- Enclosing interface:
CfnTemplate.GeneralFlagsV4Property
@Stability(Stable)
public static final class CfnTemplate.GeneralFlagsV4Property.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.GeneralFlagsV4Property>
A builder for
CfnTemplate.GeneralFlagsV4Property
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionautoEnrollment
(Boolean autoEnrollment) Sets the value ofCfnTemplate.GeneralFlagsV4Property.getAutoEnrollment()
autoEnrollment
(IResolvable autoEnrollment) Sets the value ofCfnTemplate.GeneralFlagsV4Property.getAutoEnrollment()
build()
Builds the configured instance.machineType
(Boolean machineType) Sets the value ofCfnTemplate.GeneralFlagsV4Property.getMachineType()
machineType
(IResolvable machineType) Sets the value ofCfnTemplate.GeneralFlagsV4Property.getMachineType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
autoEnrollment
@Stability(Stable) public CfnTemplate.GeneralFlagsV4Property.Builder autoEnrollment(Boolean autoEnrollment) Sets the value ofCfnTemplate.GeneralFlagsV4Property.getAutoEnrollment()
- Parameters:
autoEnrollment
- Allows certificate issuance using autoenrollment. Set to TRUE to allow autoenrollment.- Returns:
this
-
autoEnrollment
@Stability(Stable) public CfnTemplate.GeneralFlagsV4Property.Builder autoEnrollment(IResolvable autoEnrollment) Sets the value ofCfnTemplate.GeneralFlagsV4Property.getAutoEnrollment()
- Parameters:
autoEnrollment
- Allows certificate issuance using autoenrollment. Set to TRUE to allow autoenrollment.- Returns:
this
-
machineType
@Stability(Stable) public CfnTemplate.GeneralFlagsV4Property.Builder machineType(Boolean machineType) Sets the value ofCfnTemplate.GeneralFlagsV4Property.getMachineType()
- Parameters:
machineType
- Defines if the template is for machines or users. Set to TRUE if the template is for machines. Set to FALSE if the template is for users- Returns:
this
-
machineType
@Stability(Stable) public CfnTemplate.GeneralFlagsV4Property.Builder machineType(IResolvable machineType) Sets the value ofCfnTemplate.GeneralFlagsV4Property.getMachineType()
- Parameters:
machineType
- Defines if the template is for machines or users. Set to TRUE if the template is for machines. Set to FALSE if the template is for users- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTemplate.GeneralFlagsV4Property>
- Returns:
- a new instance of
CfnTemplate.GeneralFlagsV4Property
- Throws:
NullPointerException
- if any required attribute was not provided
-