Interface ThingGroupMetadata.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ThingGroupMetadata.Builder,ThingGroupMetadata>
,SdkBuilder<ThingGroupMetadata.Builder,ThingGroupMetadata>
,SdkPojo
- Enclosing class:
- ThingGroupMetadata
public static interface ThingGroupMetadata.Builder extends SdkPojo, CopyableBuilder<ThingGroupMetadata.Builder,ThingGroupMetadata>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ThingGroupMetadata.Builder
creationDate(Instant creationDate)
The UNIX timestamp of when the thing group was created.ThingGroupMetadata.Builder
parentGroupName(String parentGroupName)
The parent thing group name.ThingGroupMetadata.Builder
rootToParentThingGroups(Collection<GroupNameAndArn> rootToParentThingGroups)
The root parent thing group.ThingGroupMetadata.Builder
rootToParentThingGroups(Consumer<GroupNameAndArn.Builder>... rootToParentThingGroups)
The root parent thing group.ThingGroupMetadata.Builder
rootToParentThingGroups(GroupNameAndArn... rootToParentThingGroups)
The root parent thing group.-
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
-
parentGroupName
ThingGroupMetadata.Builder parentGroupName(String parentGroupName)
The parent thing group name.
- Parameters:
parentGroupName
- The parent thing group name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rootToParentThingGroups
ThingGroupMetadata.Builder rootToParentThingGroups(Collection<GroupNameAndArn> rootToParentThingGroups)
The root parent thing group.
- Parameters:
rootToParentThingGroups
- The root parent thing group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rootToParentThingGroups
ThingGroupMetadata.Builder rootToParentThingGroups(GroupNameAndArn... rootToParentThingGroups)
The root parent thing group.
- Parameters:
rootToParentThingGroups
- The root parent thing group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rootToParentThingGroups
ThingGroupMetadata.Builder rootToParentThingGroups(Consumer<GroupNameAndArn.Builder>... rootToParentThingGroups)
The root parent thing group.
This is a convenience method that creates an instance of theGroupNameAndArn.Builder
avoiding the need to create one manually viaGroupNameAndArn.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#rootToParentThingGroups(List
.) - Parameters:
rootToParentThingGroups
- a consumer that will call methods onGroupNameAndArn.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#rootToParentThingGroups(java.util.Collection
)
-
creationDate
ThingGroupMetadata.Builder creationDate(Instant creationDate)
The UNIX timestamp of when the thing group was created.
- Parameters:
creationDate
- The UNIX timestamp of when the thing group was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-