Package com.pulumi.aws.iot.inputs
Class ThingPrincipalAttachmentState.Builder
- java.lang.Object
-
- com.pulumi.aws.iot.inputs.ThingPrincipalAttachmentState.Builder
-
- Enclosing class:
- ThingPrincipalAttachmentState
public static final class ThingPrincipalAttachmentState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(ThingPrincipalAttachmentState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThingPrincipalAttachmentStatebuild()ThingPrincipalAttachmentState.Builderprincipal(com.pulumi.core.Output<java.lang.String> principal)ThingPrincipalAttachmentState.Builderprincipal(java.lang.String principal)ThingPrincipalAttachmentState.Builderregion(com.pulumi.core.Output<java.lang.String> region)ThingPrincipalAttachmentState.Builderregion(java.lang.String region)ThingPrincipalAttachmentState.Builderthing(com.pulumi.core.Output<java.lang.String> thing)ThingPrincipalAttachmentState.Builderthing(java.lang.String thing)ThingPrincipalAttachmentState.BuilderthingPrincipalType(com.pulumi.core.Output<java.lang.String> thingPrincipalType)ThingPrincipalAttachmentState.BuilderthingPrincipalType(java.lang.String thingPrincipalType)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ThingPrincipalAttachmentState defaults)
-
-
Method Detail
-
principal
public ThingPrincipalAttachmentState.Builder principal(@Nullable com.pulumi.core.Output<java.lang.String> principal)
- Parameters:
principal- The AWS IoT Certificate ARN or Amazon Cognito Identity ID.- Returns:
- builder
-
principal
public ThingPrincipalAttachmentState.Builder principal(java.lang.String principal)
- Parameters:
principal- The AWS IoT Certificate ARN or Amazon Cognito Identity ID.- Returns:
- builder
-
region
public ThingPrincipalAttachmentState.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public ThingPrincipalAttachmentState.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
thing
public ThingPrincipalAttachmentState.Builder thing(@Nullable com.pulumi.core.Output<java.lang.String> thing)
- Parameters:
thing- The name of the thing.- Returns:
- builder
-
thing
public ThingPrincipalAttachmentState.Builder thing(java.lang.String thing)
- Parameters:
thing- The name of the thing.- Returns:
- builder
-
thingPrincipalType
public ThingPrincipalAttachmentState.Builder thingPrincipalType(@Nullable com.pulumi.core.Output<java.lang.String> thingPrincipalType)
- Parameters:
thingPrincipalType- The type of relationship to specify when attaching a principal to a thing. Valid values are `EXCLUSIVE_THING` (the thing will be the only one attached to the principal) or `NON_EXCLUSIVE_THING` (multiple things can be attached to the principal). Defaults to `NON_EXCLUSIVE_THING`.- Returns:
- builder
-
thingPrincipalType
public ThingPrincipalAttachmentState.Builder thingPrincipalType(java.lang.String thingPrincipalType)
- Parameters:
thingPrincipalType- The type of relationship to specify when attaching a principal to a thing. Valid values are `EXCLUSIVE_THING` (the thing will be the only one attached to the principal) or `NON_EXCLUSIVE_THING` (multiple things can be attached to the principal). Defaults to `NON_EXCLUSIVE_THING`.- Returns:
- builder
-
build
public ThingPrincipalAttachmentState build()
-
-