Interface CreateThingTypeRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateThingTypeRequest.Builder,CreateThingTypeRequest>,IotRequest.Builder,SdkBuilder<CreateThingTypeRequest.Builder,CreateThingTypeRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateThingTypeRequest
public static interface CreateThingTypeRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<CreateThingTypeRequest.Builder,CreateThingTypeRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
thingTypeName
CreateThingTypeRequest.Builder thingTypeName(String thingTypeName)
The name of the thing type.
- Parameters:
thingTypeName- The name of the thing type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thingTypeProperties
CreateThingTypeRequest.Builder thingTypeProperties(ThingTypeProperties thingTypeProperties)
The ThingTypeProperties for the thing type to create. It contains information about the new thing type including a description, and a list of searchable thing attribute names.
- Parameters:
thingTypeProperties- The ThingTypeProperties for the thing type to create. It contains information about the new thing type including a description, and a list of searchable thing attribute names.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thingTypeProperties
default CreateThingTypeRequest.Builder thingTypeProperties(Consumer<ThingTypeProperties.Builder> thingTypeProperties)
The ThingTypeProperties for the thing type to create. It contains information about the new thing type including a description, and a list of searchable thing attribute names.
This is a convenience method that creates an instance of theThingTypeProperties.Builderavoiding the need to create one manually viaThingTypeProperties.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tothingTypeProperties(ThingTypeProperties).- Parameters:
thingTypeProperties- a consumer that will call methods onThingTypeProperties.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
thingTypeProperties(ThingTypeProperties)
-
tags
CreateThingTypeRequest.Builder tags(Collection<Tag> tags)
Metadata which can be used to manage the thing type.
- Parameters:
tags- Metadata which can be used to manage the thing type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateThingTypeRequest.Builder tags(Tag... tags)
Metadata which can be used to manage the thing type.
- Parameters:
tags- Metadata which can be used to manage the thing type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateThingTypeRequest.Builder tags(Consumer<Tag.Builder>... tags)
Metadata which can be used to manage the thing type.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
overrideConfiguration
CreateThingTypeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateThingTypeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-