Interface UploadEntityDefinitionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UploadEntityDefinitionsRequest.Builder,
,UploadEntityDefinitionsRequest> IoTThingsGraphRequest.Builder
,SdkBuilder<UploadEntityDefinitionsRequest.Builder,
,UploadEntityDefinitionsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UploadEntityDefinitionsRequest
@Mutable
@NotThreadSafe
public static interface UploadEntityDefinitionsRequest.Builder
extends IoTThingsGraphRequest.Builder, SdkPojo, CopyableBuilder<UploadEntityDefinitionsRequest.Builder,UploadEntityDefinitionsRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondeprecateExistingEntities
(Boolean deprecateExistingEntities) A Boolean that specifies whether to deprecate all entities in the latest version before uploading the newDefinitionDocument
.document
(Consumer<DefinitionDocument.Builder> document) TheDefinitionDocument
that defines the updated entities.document
(DefinitionDocument document) TheDefinitionDocument
that defines the updated entities.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.syncWithPublicNamespace
(Boolean syncWithPublicNamespace) A Boolean that specifies whether to synchronize with the latest version of the public namespace.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.iotthingsgraph.model.IoTThingsGraphRequest.Builder
build
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 Details
-
document
The
DefinitionDocument
that defines the updated entities.- Parameters:
document
- TheDefinitionDocument
that defines the updated entities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
document
default UploadEntityDefinitionsRequest.Builder document(Consumer<DefinitionDocument.Builder> document) The
This is a convenience method that creates an instance of theDefinitionDocument
that defines the updated entities.DefinitionDocument.Builder
avoiding the need to create one manually viaDefinitionDocument.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todocument(DefinitionDocument)
.- Parameters:
document
- a consumer that will call methods onDefinitionDocument.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
syncWithPublicNamespace
A Boolean that specifies whether to synchronize with the latest version of the public namespace. If set to
true
, the upload will create a new namespace version.- Parameters:
syncWithPublicNamespace
- A Boolean that specifies whether to synchronize with the latest version of the public namespace. If set totrue
, the upload will create a new namespace version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deprecateExistingEntities
A Boolean that specifies whether to deprecate all entities in the latest version before uploading the new
DefinitionDocument
. If set totrue
, the upload will create a new namespace version.- Parameters:
deprecateExistingEntities
- A Boolean that specifies whether to deprecate all entities in the latest version before uploading the newDefinitionDocument
. If set totrue
, the upload will create a new namespace version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UploadEntityDefinitionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UploadEntityDefinitionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-