@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.
|
responseMetadata
sdkHttpResponse
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public 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()
.
ReportFormatType
public 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()
.
ReportFormatType
public 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 AwsResponse
public static GetCredentialReportResponse.Builder builder()
public static Class<? extends GetCredentialReportResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsResponse
public final boolean equals(Object obj)
equals
in class AwsResponse
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkResponse
Copyright © 2021. All rights reserved.