Interface UploadEntityDefinitionsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UploadEntityDefinitionsRequest.Builder,UploadEntityDefinitionsRequest>,IoTThingsGraphRequest.Builder,SdkBuilder<UploadEntityDefinitionsRequest.Builder,UploadEntityDefinitionsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UploadEntityDefinitionsRequest
public static interface UploadEntityDefinitionsRequest.Builder extends IoTThingsGraphRequest.Builder, SdkPojo, CopyableBuilder<UploadEntityDefinitionsRequest.Builder,UploadEntityDefinitionsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UploadEntityDefinitionsRequest.BuilderdeprecateExistingEntities(Boolean deprecateExistingEntities)A Boolean that specifies whether to deprecate all entities in the latest version before uploading the newDefinitionDocument.default UploadEntityDefinitionsRequest.Builderdocument(Consumer<DefinitionDocument.Builder> document)TheDefinitionDocumentthat defines the updated entities.UploadEntityDefinitionsRequest.Builderdocument(DefinitionDocument document)TheDefinitionDocumentthat defines the updated entities.UploadEntityDefinitionsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UploadEntityDefinitionsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UploadEntityDefinitionsRequest.BuildersyncWithPublicNamespace(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, sdkFields
-
-
-
-
Method Detail
-
document
UploadEntityDefinitionsRequest.Builder document(DefinitionDocument 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:
document(DefinitionDocument)
-
syncWithPublicNamespace
UploadEntityDefinitionsRequest.Builder syncWithPublicNamespace(Boolean 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
UploadEntityDefinitionsRequest.Builder deprecateExistingEntities(Boolean 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UploadEntityDefinitionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-