Interface CreateSourceUploadResponse.Builder
- All Superinterfaces:
AmplifyGen3Response.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<CreateSourceUploadResponse.Builder,,CreateSourceUploadResponse> SdkBuilder<CreateSourceUploadResponse.Builder,,CreateSourceUploadResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateSourceUploadResponse
@Mutable
@NotThreadSafe
public static interface CreateSourceUploadResponse.Builder
extends AmplifyGen3Response.Builder, SdkPojo, CopyableBuilder<CreateSourceUploadResponse.Builder,CreateSourceUploadResponse>
-
Method Summary
Modifier and TypeMethodDescriptionsourceUploadId(String sourceUploadId) The ID of the source upload.uploadExpiresAt(Instant uploadExpiresAt) The time at which the upload expires.zipUpload(Consumer<ZipUpload.Builder> zipUpload) The upload details, including the presigned URL for uploading the .zip file.The upload details, including the presigned URL for uploading the .zip file.Methods inherited from interface software.amazon.awssdk.services.amplifygen3.model.AmplifyGen3Response.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
sourceUploadId
The ID of the source upload.
- Parameters:
sourceUploadId- The ID of the source upload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
zipUpload
The upload details, including the presigned URL for uploading the .zip file.
- Parameters:
zipUpload- The upload details, including the presigned URL for uploading the .zip file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
zipUpload
The upload details, including the presigned URL for uploading the .zip file.
This is a convenience method that creates an instance of theZipUpload.Builderavoiding the need to create one manually viaZipUpload.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tozipUpload(ZipUpload).- Parameters:
zipUpload- a consumer that will call methods onZipUpload.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
uploadExpiresAt
The time at which the upload expires. The value is in ISO-8601 format.
- Parameters:
uploadExpiresAt- The time at which the upload expires. The value is in ISO-8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-