@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssetBundleImportSource extends Object implements Serializable, Cloneable, StructuredPojo
The source of the asset bundle zip file that contains the data that you want to import. The file must be in
QUICKSIGHT_JSON
format.
Constructor and Description |
---|
AssetBundleImportSource() |
Modifier and Type | Method and Description |
---|---|
AssetBundleImportSource |
clone() |
boolean |
equals(Object obj) |
ByteBuffer |
getBody()
The bytes of the base64 encoded asset bundle import zip file.
|
String |
getS3Uri()
The Amazon S3 URI for an asset bundle import file that exists in an Amazon S3 bucket that the caller has read
access to.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBody(ByteBuffer body)
The bytes of the base64 encoded asset bundle import zip file.
|
void |
setS3Uri(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.
|
String |
toString()
Returns a string representation of this object.
|
AssetBundleImportSource |
withBody(ByteBuffer body)
The bytes of the base64 encoded asset bundle import zip file.
|
AssetBundleImportSource |
withS3Uri(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.
|
public void setBody(ByteBuffer body)
The bytes of the base64 encoded asset bundle import zip file. This file can't exceed 20 MB.
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.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
body
- The bytes of the base64 encoded asset bundle import zip file. This file can't exceed 20 MB.
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.
public ByteBuffer getBody()
The bytes of the base64 encoded asset bundle import zip file. This file can't exceed 20 MB.
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.
ByteBuffer
s are stateful. Calling their get
methods changes their position
. We recommend
using ByteBuffer.asReadOnlyBuffer()
to create a read-only view of the buffer with an independent
position
, and calling get
methods on this rather than directly on the returned ByteBuffer
.
Doing so will ensure that anyone else using the ByteBuffer
will not be affected by changes to the
position
.
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.
public AssetBundleImportSource withBody(ByteBuffer body)
The bytes of the base64 encoded asset bundle import zip file. This file can't exceed 20 MB.
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.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
body
- The bytes of the base64 encoded asset bundle import zip file. This file can't exceed 20 MB.
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.
public void setS3Uri(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 20 MB.
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 20 MB.public String getS3Uri()
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 20 MB.
public AssetBundleImportSource withS3Uri(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 20 MB.
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 20 MB.public String toString()
toString
in class Object
Object.toString()
public AssetBundleImportSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.