Interface AssetBundleImportSource.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AssetBundleImportSource.Builder,AssetBundleImportSource>,SdkBuilder<AssetBundleImportSource.Builder,AssetBundleImportSource>,SdkPojo
- Enclosing class:
- AssetBundleImportSource
@Mutable @NotThreadSafe public static interface AssetBundleImportSource.Builder extends SdkPojo, CopyableBuilder<AssetBundleImportSource.Builder,AssetBundleImportSource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AssetBundleImportSource.Builderbody(SdkBytes body)The bytes of the base64 encoded asset bundle import zip file.AssetBundleImportSource.Builders3Uri(String s3Uri)The Amazon S3 URI for an asset bundle import file that exists in an Amazon S3 bucket that the caller has read access to.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
body
AssetBundleImportSource.Builder body(SdkBytes body)
The bytes of the base64 encoded asset bundle import zip file. This file can't exceed 20 MB. If the size of the file that you want to upload is more than 20 MB, add the file to your Amazon S3 bucket and use
S3Uriof the file for this operation.If you are calling the API operations from the Amazon Web Services SDK for Java, JavaScript, Python, or PHP, the SDK encodes base64 automatically to allow the direct setting of the zip file's bytes. If you are using an SDK for a different language or receiving related errors, try to base64 encode your data.
- Parameters:
body- The bytes of the base64 encoded asset bundle import zip file. This file can't exceed 20 MB. If the size of the file that you want to upload is more than 20 MB, add the file to your Amazon S3 bucket and useS3Uriof the file for this operation.If you are calling the API operations from the Amazon Web Services SDK for Java, JavaScript, Python, or PHP, the SDK encodes base64 automatically to allow the direct setting of the zip file's bytes. If you are using an SDK for a different language or receiving related errors, try to base64 encode your data.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Uri
AssetBundleImportSource.Builder s3Uri(String s3Uri)
The Amazon S3 URI for an asset bundle import file that exists in an Amazon S3 bucket that the caller has read access to. The file must be a zip format file and can't exceed 1 GB.
- Parameters:
s3Uri- The Amazon S3 URI for an asset bundle import file that exists in an Amazon S3 bucket that the caller has read access to. The file must be a zip format file and can't exceed 1 GB.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-