Interface AttachedFile.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AttachedFile.Builder,
,AttachedFile> SdkBuilder<AttachedFile.Builder,
,AttachedFile> SdkPojo
- Enclosing class:
AttachedFile
-
Method Summary
Modifier and TypeMethodDescriptionassociatedResourceArn
(String associatedResourceArn) The resource to which the attached file is (being) uploaded to.default AttachedFile.Builder
createdBy
(Consumer<CreatedByInfo.Builder> createdBy) Represents the identity that created the file.createdBy
(CreatedByInfo createdBy) Represents the identity that created the file.creationTime
(String creationTime) The time of Creation of the file resource as an ISO timestamp.The unique identifier of the attached file resource (ARN).The unique identifier of the attached file resource.A case-sensitive name of the attached file being uploaded.fileSizeInBytes
(Long fileSizeInBytes) The size of the attached file in bytes.fileStatus
(String fileStatus) The current status of the attached file.fileStatus
(FileStatusType fileStatus) The current status of the attached file.fileUseCaseType
(String fileUseCaseType) The use case for the file.fileUseCaseType
(FileUseCaseType fileUseCaseType) The use case for the file.The tags used to organize, track, or control access for this resource.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
-
creationTime
The time of Creation of the file resource as an ISO timestamp. It's specified in ISO 8601 format:
yyyy-MM-ddThh:mm:ss.SSSZ
. For example,2024-05-03T02:41:28.172Z
.- Parameters:
creationTime
- The time of Creation of the file resource as an ISO timestamp. It's specified in ISO 8601 format:yyyy-MM-ddThh:mm:ss.SSSZ
. For example,2024-05-03T02:41:28.172Z
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileArn
The unique identifier of the attached file resource (ARN).
- Parameters:
fileArn
- The unique identifier of the attached file resource (ARN).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileId
The unique identifier of the attached file resource.
- Parameters:
fileId
- The unique identifier of the attached file resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileName
A case-sensitive name of the attached file being uploaded.
- Parameters:
fileName
- A case-sensitive name of the attached file being uploaded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileSizeInBytes
The size of the attached file in bytes.
- Parameters:
fileSizeInBytes
- The size of the attached file in bytes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileStatus
The current status of the attached file.
- Parameters:
fileStatus
- The current status of the attached file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fileStatus
The current status of the attached file.
- Parameters:
fileStatus
- The current status of the attached file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdBy
Represents the identity that created the file.
- Parameters:
createdBy
- Represents the identity that created the file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
Represents the identity that created the file.
This is a convenience method that creates an instance of theCreatedByInfo.Builder
avoiding the need to create one manually viaCreatedByInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocreatedBy(CreatedByInfo)
.- Parameters:
createdBy
- a consumer that will call methods onCreatedByInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fileUseCaseType
The use case for the file.
- Parameters:
fileUseCaseType
- The use case for the file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fileUseCaseType
The use case for the file.
- Parameters:
fileUseCaseType
- The use case for the file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
associatedResourceArn
The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.
This value must be a valid ARN.
- Parameters:
associatedResourceArn
- The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.This value must be a valid ARN.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags used to organize, track, or control access for this resource. For example,
{ "Tags": {"key1":"value1", "key2":"value2"} }
.- Parameters:
tags
- The tags used to organize, track, or control access for this resource. For example,{ "Tags": {"key1":"value1", "key2":"value2"} }
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-