ToCopyableBuilder<GetBlobResponse.Builder,GetBlobResponse>@Generated("software.amazon.awssdk:codegen") public class GetBlobResponse extends AmazonWebServiceResult<ResponseMetadata> implements ToCopyableBuilder<GetBlobResponse.Builder,GetBlobResponse>
Represents the output of a get blob operation.
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
GetBlobResponse.Builder |
| Modifier and Type | Method | Description |
|---|---|---|
static GetBlobResponse.Builder |
builder() |
|
ByteBuffer |
content() |
The content of the blob, usually a file.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
static Class<? extends GetBlobResponse.Builder> |
serializableBuilderClass() |
|
GetBlobResponse.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
setSdkHttpMetadata, setSdkResponseMetadatapublic ByteBuffer content()
The content of the blob, usually a file.
ByteBuffers 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.
public GetBlobResponse.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<GetBlobResponse.Builder,GetBlobResponse>public static GetBlobResponse.Builder builder()
public static Class<? extends GetBlobResponse.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.