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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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:
-
dataSourceId
andjobExecutionId
must be used together. -
version
is ignored ifdataSourceId
andjobExecutionId
are not provided. -
If
dataSourceId
andjobExecutionId
are provided, butversion
is 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:
-
dataSourceId
andjobExecutionId
must be used together. -
version
is ignored ifdataSourceId
andjobExecutionId
are not provided. -
If
dataSourceId
andjobExecutionId
are provided, butversion
is 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:
-
dataSourceId
andjobExecutionId
must be used together. -
version
is ignored ifdataSourceId
andjobExecutionId
are not provided. -
If
dataSourceId
andjobExecutionId
are provided, butversion
is 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:
-
dataSourceId
andjobExecutionId
must be used together. -
version
is ignored ifdataSourceId
andjobExecutionId
are not provided. -
If
dataSourceId
andjobExecutionId
are provided, butversion
is 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:
-
dataSourceId
andjobExecutionId
must be used together. -
version
is ignored ifdataSourceId
andjobExecutionId
are not provided. -
If
dataSourceId
andjobExecutionId
are provided, butversion
is not, the version defaults to "0".
DocumentAttribute.Builder
avoiding the need to create one manually viaDocumentAttribute.builder()
.When the
Consumer
completes,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:
-
-