ToCopyableBuilder<GetCredentialReportResponse.Builder,GetCredentialReportResponse>
@Generated("software.amazon.awssdk:codegen") public class GetCredentialReportResponse extends AmazonWebServiceResult<ResponseMetadata> implements ToCopyableBuilder<GetCredentialReportResponse.Builder,GetCredentialReportResponse>
Contains the response to a successful GetCredentialReport request.
Modifier and Type | Class | Description |
---|---|---|
static interface |
GetCredentialReportResponse.Builder |
Modifier and Type | Method | Description |
---|---|---|
static GetCredentialReportResponse.Builder |
builder() |
|
ByteBuffer |
content() |
Contains the credential report.
|
boolean |
equals(Object obj) |
|
Date |
generatedTime() |
The date and time when the credential report was created, in ISO 8601
date-time format.
|
int |
hashCode() |
|
String |
reportFormat() |
The format (MIME type) of the credential report.
|
static Class<? extends GetCredentialReportResponse.Builder> |
serializableBuilderClass() |
|
GetCredentialReportResponse.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
setSdkHttpMetadata, setSdkResponseMetadata
public ByteBuffer content()
Contains the credential report. The report is Base64-encoded.
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
.
public String reportFormat()
The format (MIME type) of the credential report.
ReportFormatType
public Date generatedTime()
The date and time when the credential report was created, in ISO 8601 date-time format.
public GetCredentialReportResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GetCredentialReportResponse.Builder,GetCredentialReportResponse>
public static GetCredentialReportResponse.Builder builder()
public static Class<? extends GetCredentialReportResponse.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.