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