Interface GetAttachedFileResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectResponse.Builder,CopyableBuilder<GetAttachedFileResponse.Builder,GetAttachedFileResponse>,SdkBuilder<GetAttachedFileResponse.Builder,GetAttachedFileResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetAttachedFileResponse
public static interface GetAttachedFileResponse.Builder extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<GetAttachedFileResponse.Builder,GetAttachedFileResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetAttachedFileResponse.BuilderassociatedResourceArn(String associatedResourceArn)The resource to which the attached file is (being) uploaded to.default GetAttachedFileResponse.BuildercreatedBy(Consumer<CreatedByInfo.Builder> createdBy)Represents the identity that created the file.GetAttachedFileResponse.BuildercreatedBy(CreatedByInfo createdBy)Represents the identity that created the file.GetAttachedFileResponse.BuildercreationTime(String creationTime)The time of Creation of the file resource as an ISO timestamp.default GetAttachedFileResponse.BuilderdownloadUrlMetadata(Consumer<DownloadUrlMetadata.Builder> downloadUrlMetadata)URL and expiry to be used when downloading the attached file.GetAttachedFileResponse.BuilderdownloadUrlMetadata(DownloadUrlMetadata downloadUrlMetadata)URL and expiry to be used when downloading the attached file.GetAttachedFileResponse.BuilderfileArn(String fileArn)The unique identifier of the attached file resource (ARN).GetAttachedFileResponse.BuilderfileId(String fileId)The unique identifier of the attached file resource.GetAttachedFileResponse.BuilderfileName(String fileName)A case-sensitive name of the attached file being uploaded.GetAttachedFileResponse.BuilderfileSizeInBytes(Long fileSizeInBytes)The size of the attached file in bytes.GetAttachedFileResponse.BuilderfileStatus(String fileStatus)The current status of the attached file.GetAttachedFileResponse.BuilderfileStatus(FileStatusType fileStatus)The current status of the attached file.GetAttachedFileResponse.BuilderfileUseCaseType(String fileUseCaseType)The use case for the file.GetAttachedFileResponse.BuilderfileUseCaseType(FileUseCaseType fileUseCaseType)The use case for the file.GetAttachedFileResponse.Buildertags(Map<String,String> tags)The tags used to organize, track, or control access for this resource.-
Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
fileArn
GetAttachedFileResponse.Builder fileArn(String 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
GetAttachedFileResponse.Builder fileId(String 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.
-
creationTime
GetAttachedFileResponse.Builder creationTime(String 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.
-
fileStatus
GetAttachedFileResponse.Builder fileStatus(String 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:
FileStatusType,FileStatusType
-
fileStatus
GetAttachedFileResponse.Builder fileStatus(FileStatusType 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:
FileStatusType,FileStatusType
-
fileName
GetAttachedFileResponse.Builder fileName(String 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
GetAttachedFileResponse.Builder fileSizeInBytes(Long 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.
-
associatedResourceArn
GetAttachedFileResponse.Builder associatedResourceArn(String associatedResourceArn)
The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.
- Parameters:
associatedResourceArn- The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileUseCaseType
GetAttachedFileResponse.Builder fileUseCaseType(String 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,FileUseCaseType
-
fileUseCaseType
GetAttachedFileResponse.Builder fileUseCaseType(FileUseCaseType 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,FileUseCaseType
-
createdBy
GetAttachedFileResponse.Builder createdBy(CreatedByInfo 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
default GetAttachedFileResponse.Builder createdBy(Consumer<CreatedByInfo.Builder> createdBy)
Represents the identity that created the file.
This is a convenience method that creates an instance of theCreatedByInfo.Builderavoiding the need to create one manually viaCreatedByInfo.builder().When the
Consumercompletes,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:
createdBy(CreatedByInfo)
-
downloadUrlMetadata
GetAttachedFileResponse.Builder downloadUrlMetadata(DownloadUrlMetadata downloadUrlMetadata)
URL and expiry to be used when downloading the attached file.
- Parameters:
downloadUrlMetadata- URL and expiry to be used when downloading the attached file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
downloadUrlMetadata
default GetAttachedFileResponse.Builder downloadUrlMetadata(Consumer<DownloadUrlMetadata.Builder> downloadUrlMetadata)
URL and expiry to be used when downloading the attached file.
This is a convenience method that creates an instance of theDownloadUrlMetadata.Builderavoiding the need to create one manually viaDownloadUrlMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todownloadUrlMetadata(DownloadUrlMetadata).- Parameters:
downloadUrlMetadata- a consumer that will call methods onDownloadUrlMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
downloadUrlMetadata(DownloadUrlMetadata)
-
tags
GetAttachedFileResponse.Builder tags(Map<String,String> 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.
-
-