@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 final SdkBytes content()
Contains the credential report. The report is Base64-encoded.
public final 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 final 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 final 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 final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.