Interface StartAttachedFileUploadResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectResponse.Builder,CopyableBuilder<StartAttachedFileUploadResponse.Builder,StartAttachedFileUploadResponse>,SdkBuilder<StartAttachedFileUploadResponse.Builder,StartAttachedFileUploadResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- StartAttachedFileUploadResponse
public static interface StartAttachedFileUploadResponse.Builder extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<StartAttachedFileUploadResponse.Builder,StartAttachedFileUploadResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StartAttachedFileUploadResponse.BuildercreatedBy(Consumer<CreatedByInfo.Builder> createdBy)Represents the identity that created the file.StartAttachedFileUploadResponse.BuildercreatedBy(CreatedByInfo createdBy)Represents the identity that created the file.StartAttachedFileUploadResponse.BuildercreationTime(String creationTime)The time of Creation of the file resource as an ISO timestamp.StartAttachedFileUploadResponse.BuilderfileArn(String fileArn)The unique identifier of the attached file resource (ARN).StartAttachedFileUploadResponse.BuilderfileId(String fileId)The unique identifier of the attached file resource.StartAttachedFileUploadResponse.BuilderfileStatus(String fileStatus)The current status of the attached file.StartAttachedFileUploadResponse.BuilderfileStatus(FileStatusType fileStatus)The current status of the attached file.default StartAttachedFileUploadResponse.BuilderuploadUrlMetadata(Consumer<UploadUrlMetadata.Builder> uploadUrlMetadata)Information to be used while uploading the attached file.StartAttachedFileUploadResponse.BuilderuploadUrlMetadata(UploadUrlMetadata uploadUrlMetadata)Information to be used while uploading the attached file.-
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
StartAttachedFileUploadResponse.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
StartAttachedFileUploadResponse.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
StartAttachedFileUploadResponse.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
StartAttachedFileUploadResponse.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
StartAttachedFileUploadResponse.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
-
createdBy
StartAttachedFileUploadResponse.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 StartAttachedFileUploadResponse.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)
-
uploadUrlMetadata
StartAttachedFileUploadResponse.Builder uploadUrlMetadata(UploadUrlMetadata uploadUrlMetadata)
Information to be used while uploading the attached file.
- Parameters:
uploadUrlMetadata- Information to be used while uploading the attached file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uploadUrlMetadata
default StartAttachedFileUploadResponse.Builder uploadUrlMetadata(Consumer<UploadUrlMetadata.Builder> uploadUrlMetadata)
Information to be used while uploading the attached file.
This is a convenience method that creates an instance of theUploadUrlMetadata.Builderavoiding the need to create one manually viaUploadUrlMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touploadUrlMetadata(UploadUrlMetadata).- Parameters:
uploadUrlMetadata- a consumer that will call methods onUploadUrlMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
uploadUrlMetadata(UploadUrlMetadata)
-
-