@Generated(value="software.amazon.awssdk:codegen") public final class GetCredentialReportResponse extends IamResponse implements ToCopyableBuilder<GetCredentialReportResponse.Builder,GetCredentialReportResponse>
Contains the response to a successful GetCredentialReport request.
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetCredentialReportResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetCredentialReportResponse.Builder |
builder() |
SdkBytes |
content()
Contains the credential report.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Instant |
generatedTime()
The date and time when the credential report was created, in ISO 8601
date-time format.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ReportFormatType |
reportFormat()
The format (MIME type) of the credential report.
|
String |
reportFormatAsString()
The format (MIME type) of the credential report.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetCredentialReportResponse.Builder> |
serializableBuilderClass() |
GetCredentialReportResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic SdkBytes content()
Contains the credential report. The report is Base64-encoded.
public ReportFormatType reportFormat()
The format (MIME type) of the credential report.
If the service returns an enum value that is not available in the current SDK version, reportFormat will
return ReportFormatType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
reportFormatAsString().
ReportFormatTypepublic String reportFormatAsString()
The format (MIME type) of the credential report.
If the service returns an enum value that is not available in the current SDK version, reportFormat will
return ReportFormatType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
reportFormatAsString().
ReportFormatTypepublic Instant generatedTime()
The date and time when the credential report was created, in ISO 8601 date-time format.
public GetCredentialReportResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetCredentialReportResponse.Builder,GetCredentialReportResponse>toBuilder in class AwsResponsepublic static GetCredentialReportResponse.Builder builder()
public static Class<? extends GetCredentialReportResponse.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsResponsepublic boolean equals(Object obj)
equals in class AwsResponsepublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2020. All rights reserved.