Interface ConnectionItem.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ConnectionItem.Builder,,ConnectionItem> SdkBuilder<ConnectionItem.Builder,,ConnectionItem> SdkPojo
- Enclosing class:
ConnectionItem
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the item.The type of item.kind(ConnectionItemKind kind) The type of item.The display name of the item.The size of the item in bytes.The time when the provider last recorded a change to the item.The URL of the item.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, sdkFieldNameToField, sdkFields
-
Method Details
-
id
The identifier of the item. To list the contents of the item, pass this value as
parentId. This doesn't apply to aFILE.- Parameters:
id- The identifier of the item. To list the contents of the item, pass this value asparentId. This doesn't apply to aFILE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kind
The type of item. Valid values:
-
FILE– A document that you can link as evidence. -
FOLDER– A folder that contains other items. -
LIBRARY– A SharePoint document library. -
REPOSITORY– A GitHub repository. -
SITE– A SharePoint site.
- Parameters:
kind- The type of item. Valid values:-
FILE– A document that you can link as evidence. -
FOLDER– A folder that contains other items. -
LIBRARY– A SharePoint document library. -
REPOSITORY– A GitHub repository. -
SITE– A SharePoint site.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
kind
The type of item. Valid values:
-
FILE– A document that you can link as evidence. -
FOLDER– A folder that contains other items. -
LIBRARY– A SharePoint document library. -
REPOSITORY– A GitHub repository. -
SITE– A SharePoint site.
- Parameters:
kind- The type of item. Valid values:-
FILE– A document that you can link as evidence. -
FOLDER– A folder that contains other items. -
LIBRARY– A SharePoint document library. -
REPOSITORY– A GitHub repository. -
SITE– A SharePoint site.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
name
The display name of the item.
- Parameters:
name- The display name of the item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
url
The URL of the item. This field is present for a
FILE. To add the file as evidence, pass this value asreferencetoPutEvidence.- Parameters:
url- The URL of the item. This field is present for aFILE. To add the file as evidence, pass this value asreferencetoPutEvidence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sizeBytes
The size of the item in bytes. This field is present for a
FILE.- Parameters:
sizeBytes- The size of the item in bytes. This field is present for aFILE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The time when the provider last recorded a change to the item. This field is present for a
FILE.- Parameters:
updatedAt- The time when the provider last recorded a change to the item. This field is present for aFILE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-