Interface ThingPrincipalObject.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ThingPrincipalObject.Builder,,ThingPrincipalObject> SdkBuilder<ThingPrincipalObject.Builder,,ThingPrincipalObject> SdkPojo
- Enclosing class:
ThingPrincipalObject
-
Method Summary
Modifier and TypeMethodDescriptionThe principal of the thing principal object.thingPrincipalType(String thingPrincipalType) The type of the relation you want to specify when you attach a principal to a thing.thingPrincipalType(ThingPrincipalType thingPrincipalType) The type of the relation you want to specify when you attach a principal to a thing.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
principal
The principal of the thing principal object.
- Parameters:
principal- The principal of the thing principal object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thingPrincipalType
The type of the relation you want to specify when you attach a principal to a thing. The value defaults to
NON_EXCLUSIVE_THING.-
EXCLUSIVE_THING- Attaches the specified principal to the specified thing, exclusively. The thing will be the only thing that’s attached to the principal.
-
NON_EXCLUSIVE_THING- Attaches the specified principal to the specified thing. Multiple things can be attached to the principal.
- Parameters:
thingPrincipalType- The type of the relation you want to specify when you attach a principal to a thing. The value defaults toNON_EXCLUSIVE_THING.-
EXCLUSIVE_THING- Attaches the specified principal to the specified thing, exclusively. The thing will be the only thing that’s attached to the principal.
-
NON_EXCLUSIVE_THING- Attaches the specified principal to the specified thing. Multiple things can be attached to the principal.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
thingPrincipalType
The type of the relation you want to specify when you attach a principal to a thing. The value defaults to
NON_EXCLUSIVE_THING.-
EXCLUSIVE_THING- Attaches the specified principal to the specified thing, exclusively. The thing will be the only thing that’s attached to the principal.
-
NON_EXCLUSIVE_THING- Attaches the specified principal to the specified thing. Multiple things can be attached to the principal.
- Parameters:
thingPrincipalType- The type of the relation you want to specify when you attach a principal to a thing. The value defaults toNON_EXCLUSIVE_THING.-
EXCLUSIVE_THING- Attaches the specified principal to the specified thing, exclusively. The thing will be the only thing that’s attached to the principal.
-
NON_EXCLUSIVE_THING- Attaches the specified principal to the specified thing. Multiple things can be attached to the principal.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-