Interface DocumentInfo.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DocumentInfo.Builder,,DocumentInfo> SdkBuilder<DocumentInfo.Builder,,DocumentInfo> SdkPojo
- Enclosing class:
DocumentInfo
-
Method Summary
Modifier and TypeMethodDescriptionattributes(Collection<DocumentAttribute> attributes) Attributes that identify a specific version of a document to check.attributes(Consumer<DocumentAttribute.Builder>... attributes) Attributes that identify a specific version of a document to check.attributes(DocumentAttribute... attributes) Attributes that identify a specific version of a document to check.documentId(String documentId) The identifier of the document.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
documentId
The identifier of the document.
- Parameters:
documentId- The identifier of the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
Attributes that identify a specific version of a document to check.
The only valid attributes are:
-
version
-
datasourceId
-
jobExecutionId
The attributes follow these rules:
-
dataSourceIdandjobExecutionIdmust be used together. -
versionis ignored ifdataSourceIdandjobExecutionIdare not provided. -
If
dataSourceIdandjobExecutionIdare provided, butversionis not, the version defaults to "0".
- Parameters:
attributes- Attributes that identify a specific version of a document to check.The only valid attributes are:
-
version
-
datasourceId
-
jobExecutionId
The attributes follow these rules:
-
dataSourceIdandjobExecutionIdmust be used together. -
versionis ignored ifdataSourceIdandjobExecutionIdare not provided. -
If
dataSourceIdandjobExecutionIdare provided, butversionis not, the version defaults to "0".
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
attributes
Attributes that identify a specific version of a document to check.
The only valid attributes are:
-
version
-
datasourceId
-
jobExecutionId
The attributes follow these rules:
-
dataSourceIdandjobExecutionIdmust be used together. -
versionis ignored ifdataSourceIdandjobExecutionIdare not provided. -
If
dataSourceIdandjobExecutionIdare provided, butversionis not, the version defaults to "0".
- Parameters:
attributes- Attributes that identify a specific version of a document to check.The only valid attributes are:
-
version
-
datasourceId
-
jobExecutionId
The attributes follow these rules:
-
dataSourceIdandjobExecutionIdmust be used together. -
versionis ignored ifdataSourceIdandjobExecutionIdare not provided. -
If
dataSourceIdandjobExecutionIdare provided, butversionis not, the version defaults to "0".
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
attributes
Attributes that identify a specific version of a document to check.
The only valid attributes are:
-
version
-
datasourceId
-
jobExecutionId
The attributes follow these rules:
-
dataSourceIdandjobExecutionIdmust be used together. -
versionis ignored ifdataSourceIdandjobExecutionIdare not provided. -
If
dataSourceIdandjobExecutionIdare provided, butversionis not, the version defaults to "0".
DocumentAttribute.Builderavoiding the need to create one manually viaDocumentAttribute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattributes(List<DocumentAttribute>).- Parameters:
attributes- a consumer that will call methods onDocumentAttribute.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-