public static interface ThingTypeDefinition.Builder extends CopyableBuilder<ThingTypeDefinition.Builder,ThingTypeDefinition>
Modifier and Type | Method and Description |
---|---|
default ThingTypeDefinition.Builder |
thingTypeMetadata(Consumer<ThingTypeMetadata.Builder> thingTypeMetadata)
The ThingTypeMetadata contains additional information about the thing type including: creation date and time,
a value indicating whether the thing type is deprecated, and a date and time when it was deprecated.
|
ThingTypeDefinition.Builder |
thingTypeMetadata(ThingTypeMetadata thingTypeMetadata)
The ThingTypeMetadata contains additional information about the thing type including: creation date and time,
a value indicating whether the thing type is deprecated, and a date and time when it was deprecated.
|
ThingTypeDefinition.Builder |
thingTypeName(String thingTypeName)
The name of the thing type.
|
default ThingTypeDefinition.Builder |
thingTypeProperties(Consumer<ThingTypeProperties.Builder> thingTypeProperties)
The ThingTypeProperties for the thing type.
|
ThingTypeDefinition.Builder |
thingTypeProperties(ThingTypeProperties thingTypeProperties)
The ThingTypeProperties for the thing type.
|
copy
applyMutation, build
ThingTypeDefinition.Builder thingTypeName(String thingTypeName)
The name of the thing type.
thingTypeName
- The name of the thing type.ThingTypeDefinition.Builder thingTypeProperties(ThingTypeProperties thingTypeProperties)
The ThingTypeProperties for the thing type.
thingTypeProperties
- The ThingTypeProperties for the thing type.default ThingTypeDefinition.Builder thingTypeProperties(Consumer<ThingTypeProperties.Builder> thingTypeProperties)
The ThingTypeProperties for the thing type.
This is a convenience that creates an instance of theThingTypeProperties.Builder
avoiding the need
to create one manually via ThingTypeProperties.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to thingTypeProperties(ThingTypeProperties)
.thingTypeProperties
- a consumer that will call methods on ThingTypeProperties.Builder
thingTypeProperties(ThingTypeProperties)
ThingTypeDefinition.Builder thingTypeMetadata(ThingTypeMetadata thingTypeMetadata)
The ThingTypeMetadata contains additional information about the thing type including: creation date and time, a value indicating whether the thing type is deprecated, and a date and time when it was deprecated.
thingTypeMetadata
- The ThingTypeMetadata contains additional information about the thing type including: creation date
and time, a value indicating whether the thing type is deprecated, and a date and time when it was
deprecated.default ThingTypeDefinition.Builder thingTypeMetadata(Consumer<ThingTypeMetadata.Builder> thingTypeMetadata)
The ThingTypeMetadata contains additional information about the thing type including: creation date and time, a value indicating whether the thing type is deprecated, and a date and time when it was deprecated.
This is a convenience that creates an instance of theThingTypeMetadata.Builder
avoiding the need to
create one manually via ThingTypeMetadata.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to thingTypeMetadata(ThingTypeMetadata)
.thingTypeMetadata
- a consumer that will call methods on ThingTypeMetadata.Builder
thingTypeMetadata(ThingTypeMetadata)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.