public static interface ThingGroupMetadata.Builder extends SdkPojo, CopyableBuilder<ThingGroupMetadata.Builder,ThingGroupMetadata>
Modifier and Type | Method and 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.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
ThingGroupMetadata.Builder parentGroupName(String parentGroupName)
The parent thing group name.
parentGroupName
- The parent thing group name.ThingGroupMetadata.Builder rootToParentThingGroups(Collection<GroupNameAndArn> rootToParentThingGroups)
The root parent thing group.
rootToParentThingGroups
- The root parent thing group.ThingGroupMetadata.Builder rootToParentThingGroups(GroupNameAndArn... rootToParentThingGroups)
The root parent thing group.
rootToParentThingGroups
- The root parent thing group.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 via GroupNameAndArn.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called immediately and
its result is passed to #rootToParentThingGroups(List
.
rootToParentThingGroups
- a consumer that will call methods on
GroupNameAndArn.Builder
#rootToParentThingGroups(java.util.Collection)
ThingGroupMetadata.Builder creationDate(Instant creationDate)
The UNIX timestamp of when the thing group was created.
creationDate
- The UNIX timestamp of when the thing group was created.Copyright © 2023. All rights reserved.