Interface GetSourceUploadResponse.Builder
- All Superinterfaces:
AmplifyGen3Response.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetSourceUploadResponse.Builder,,GetSourceUploadResponse> SdkBuilder<GetSourceUploadResponse.Builder,,GetSourceUploadResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetSourceUploadResponse
@Mutable
@NotThreadSafe
public static interface GetSourceUploadResponse.Builder
extends AmplifyGen3Response.Builder, SdkPojo, CopyableBuilder<GetSourceUploadResponse.Builder,GetSourceUploadResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe time at which the source upload was created.sizeInBytes(Long sizeInBytes) The size of the source upload, in bytes.sourceUploadId(String sourceUploadId) The ID of the source upload.uploadExpiresAt(Instant uploadExpiresAt) The time at which the upload expires.default GetSourceUploadResponse.BuilderzipUpload(Consumer<ZipUpload.Builder> zipUpload) The .zip file upload information.The .zip file upload information.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 .zip file upload information.
- Parameters:
zipUpload- The .zip file upload information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
zipUpload
The .zip file upload information.
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:
-
createdAt
The time at which the source upload was created. The value is in ISO-8601 format.
- Parameters:
createdAt- The time at which the source upload was created. The value is in ISO-8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
sizeInBytes
The size of the source upload, in bytes.
- Parameters:
sizeInBytes- The size of the source upload, in bytes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-