Class CfnThingPrincipalAttachmentPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iot.CfnThingPrincipalAttachmentPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnThingPrincipalAttachmentPropsMixin>
- Enclosing class:
CfnThingPrincipalAttachmentPropsMixin
@Stability(Stable)
public static final class CfnThingPrincipalAttachmentPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnThingPrincipalAttachmentPropsMixin>
A fluent builder for
CfnThingPrincipalAttachmentPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) The principal, which can be a certificate ARN (as returned from theCreateCertificateoperation) or an Amazon Cognito ID.The name of the AWS IoT thing.thingPrincipalType(String thingPrincipalType)
-
Method Details
-
create
@Stability(Stable) public static CfnThingPrincipalAttachmentPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnThingPrincipalAttachmentPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnThingPrincipalAttachmentPropsMixin.Builder.
-
principal
The principal, which can be a certificate ARN (as returned from theCreateCertificateoperation) or an Amazon Cognito ID.- Parameters:
principal- The principal, which can be a certificate ARN (as returned from theCreateCertificateoperation) or an Amazon Cognito ID. This parameter is required.- Returns:
this- See Also:
-
thingName
The name of the AWS IoT thing.- Parameters:
thingName- The name of the AWS IoT thing. This parameter is required.- Returns:
this- See Also:
-
thingPrincipalType
@Stability(Stable) public CfnThingPrincipalAttachmentPropsMixin.Builder thingPrincipalType(String thingPrincipalType) - Parameters:
thingPrincipalType- This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnThingPrincipalAttachmentPropsMixin>- Returns:
- a newly built instance of
CfnThingPrincipalAttachmentPropsMixin.
-