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
Modifier and TypeMethodDescriptioncreationDate(Instant creationDate) The UNIX timestamp of when the thing group was created.parentGroupName(String parentGroupName) The parent thing group name.rootToParentThingGroups(Collection<GroupNameAndArn> rootToParentThingGroups) The root parent thing group.rootToParentThingGroups(Consumer<GroupNameAndArn.Builder>... rootToParentThingGroups) The root parent thing group.rootToParentThingGroups(GroupNameAndArn... rootToParentThingGroups) The root parent thing group.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, sdkFields
-
Method Details
-
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
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.Builderavoiding the need to create one manually viaGroupNameAndArn.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torootToParentThingGroups(List<GroupNameAndArn>).- 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:
-
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.
-