Interface DocumentInfo.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DocumentInfo.Builder,DocumentInfo>,SdkBuilder<DocumentInfo.Builder,DocumentInfo>,SdkPojo
- Enclosing class:
- DocumentInfo
public static interface DocumentInfo.Builder extends SdkPojo, CopyableBuilder<DocumentInfo.Builder,DocumentInfo>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DocumentInfo.Builderattributes(Collection<DocumentAttribute> attributes)Attributes that identify a specific version of a document to check.DocumentInfo.Builderattributes(Consumer<DocumentAttribute.Builder>... attributes)Attributes that identify a specific version of a document to check.DocumentInfo.Builderattributes(DocumentAttribute... attributes)Attributes that identify a specific version of a document to check.DocumentInfo.BuilderdocumentId(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 Detail
-
documentId
DocumentInfo.Builder documentId(String 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
DocumentInfo.Builder attributes(Collection<DocumentAttribute> 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
DocumentInfo.Builder attributes(DocumentAttribute... 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
DocumentInfo.Builder attributes(Consumer<DocumentAttribute.Builder>... 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 to#attributes(List.) - 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:
#attributes(java.util.Collection)
-
-
-