Interface GetFileResponse.Builder
- All Superinterfaces:
AmplifyGen3Response.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetFileResponse.Builder,,GetFileResponse> SdkBuilder<GetFileResponse.Builder,,GetFileResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetFileResponse
@Mutable
@NotThreadSafe
public static interface GetFileResponse.Builder
extends AmplifyGen3Response.Builder, SdkPojo, CopyableBuilder<GetFileResponse.Builder,GetFileResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe contents of the file.The path of the file that was returned.The Git object ID (blob SHA) of the file's contents.The size of the file, in bytes.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
-
filePath
The path of the file that was returned.
- Parameters:
filePath- The path of the file that was returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
The contents of the file.
- Parameters:
content- The contents of the file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sha
The Git object ID (blob SHA) of the file's contents. It changes whenever the file's contents change.
- Parameters:
sha- The Git object ID (blob SHA) of the file's contents. It changes whenever the file's contents change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
size
The size of the file, in bytes.
- Parameters:
size- The size of the file, in bytes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-