@Stability(value=Stable) public static final class CfnThingPrincipalAttachmentProps.Builder extends Object implements software.amazon.jsii.Builder<CfnThingPrincipalAttachmentProps>
CfnThingPrincipalAttachmentProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnThingPrincipalAttachmentProps |
build()
Builds the configured instance.
|
CfnThingPrincipalAttachmentProps.Builder |
principal(String principal)
Sets the value of
CfnThingPrincipalAttachmentProps.getPrincipal() |
CfnThingPrincipalAttachmentProps.Builder |
thingName(String thingName)
Sets the value of
CfnThingPrincipalAttachmentProps.getThingName() |
@Stability(value=Stable) public CfnThingPrincipalAttachmentProps.Builder principal(String principal)
CfnThingPrincipalAttachmentProps.getPrincipal()principal - The principal, which can be a certificate ARN (as returned from the `CreateCertificate` operation) or an Amazon Cognito ID. This parameter is required.this@Stability(value=Stable) public CfnThingPrincipalAttachmentProps.Builder thingName(String thingName)
CfnThingPrincipalAttachmentProps.getThingName()thingName - The name of the AWS IoT thing. This parameter is required.this@Stability(value=Stable) public CfnThingPrincipalAttachmentProps build()
build in interface software.amazon.jsii.Builder<CfnThingPrincipalAttachmentProps>CfnThingPrincipalAttachmentPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.