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) TheDefinitionDocumentthat defines the updated entities.document(DefinitionDocument document) TheDefinitionDocumentthat 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotthingsgraph.model.IoTThingsGraphRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
document
The
DefinitionDocumentthat defines the updated entities.- Parameters:
document- TheDefinitionDocumentthat 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 theDefinitionDocumentthat defines the updated entities.DefinitionDocument.Builderavoiding the need to create one manually viaDefinitionDocument.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-