public class GetCredentialReportResult extends Object implements Serializable
Contains the result of a successful invocation of the GetCredentialReport action.
Constructor and Description |
---|
GetCredentialReportResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
ByteBuffer |
getContent()
Contains the credential report.
|
Date |
getGeneratedTime()
The time and date when the credential report was created, in ISO 8601 date-time format.
|
String |
getReportFormat()
The format (MIME type) of the credential report.
|
int |
hashCode() |
void |
setContent(ByteBuffer content)
Contains the credential report.
|
void |
setGeneratedTime(Date generatedTime)
The time and date when the credential report was created, in ISO 8601 date-time format.
|
void |
setReportFormat(ReportFormatType reportFormat)
The format (MIME type) of the credential report.
|
void |
setReportFormat(String reportFormat)
The format (MIME type) of the credential report.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetCredentialReportResult |
withContent(ByteBuffer content)
Contains the credential report.
|
GetCredentialReportResult |
withGeneratedTime(Date generatedTime)
The time and date when the credential report was created, in ISO 8601 date-time format.
|
GetCredentialReportResult |
withReportFormat(ReportFormatType reportFormat)
The format (MIME type) of the credential report.
|
GetCredentialReportResult |
withReportFormat(String reportFormat)
The format (MIME type) of the credential report.
|
public ByteBuffer getContent()
public void setContent(ByteBuffer content)
content
- Contains the credential report. The report is Base64-encoded.public GetCredentialReportResult withContent(ByteBuffer content)
Returns a reference to this object so that method calls can be chained together.
content
- Contains the credential report. The report is Base64-encoded.public String getReportFormat()
Constraints:
Allowed Values: text/csv
ReportFormatType
public void setReportFormat(String reportFormat)
Constraints:
Allowed Values: text/csv
reportFormat
- The format (MIME type) of the credential report.ReportFormatType
public GetCredentialReportResult withReportFormat(String reportFormat)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: text/csv
reportFormat
- The format (MIME type) of the credential report.ReportFormatType
public void setReportFormat(ReportFormatType reportFormat)
Constraints:
Allowed Values: text/csv
reportFormat
- The format (MIME type) of the credential report.ReportFormatType
public GetCredentialReportResult withReportFormat(ReportFormatType reportFormat)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: text/csv
reportFormat
- The format (MIME type) of the credential report.ReportFormatType
public Date getGeneratedTime()
public void setGeneratedTime(Date generatedTime)
generatedTime
- The time and date when the credential report was created, in ISO 8601 date-time format.public GetCredentialReportResult withGeneratedTime(Date generatedTime)
Returns a reference to this object so that method calls can be chained together.
generatedTime
- The time and date when the credential report was created, in ISO 8601 date-time format.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.