Interface PrincipalThingObject.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PrincipalThingObject.Builder,PrincipalThingObject>,SdkBuilder<PrincipalThingObject.Builder,PrincipalThingObject>,SdkPojo
- Enclosing class:
- PrincipalThingObject
public static interface PrincipalThingObject.Builder extends SdkPojo, CopyableBuilder<PrincipalThingObject.Builder,PrincipalThingObject>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PrincipalThingObject.BuilderthingName(String thingName)The name of the thing.PrincipalThingObject.BuilderthingPrincipalType(String thingPrincipalType)The type of the relation you want to specify when you attach a principal to a thing.PrincipalThingObject.BuilderthingPrincipalType(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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
thingName
PrincipalThingObject.Builder thingName(String thingName)
The name of the thing.
- Parameters:
thingName- The name of the thing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thingPrincipalType
PrincipalThingObject.Builder thingPrincipalType(String 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,ThingPrincipalType
-
-
thingPrincipalType
PrincipalThingObject.Builder thingPrincipalType(ThingPrincipalType 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,ThingPrincipalType
-
-
-