@Generated(value="software.amazon.awssdk:codegen") public final class BusinessReport extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BusinessReport.Builder,BusinessReport>
Usage report with specified parameters.
Modifier and Type | Class and Description |
---|---|
static interface |
BusinessReport.Builder |
Modifier and Type | Method and Description |
---|---|
static BusinessReport.Builder |
builder() |
Instant |
deliveryTime()
The time of report delivery.
|
String |
downloadUrl()
The download link where a user can download the report.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
BusinessReportFailureCode |
failureCode()
The failure code.
|
String |
failureCodeAsString()
The failure code.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
BusinessReportS3Location |
s3Location()
The S3 location of the output reports.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends BusinessReport.Builder> |
serializableBuilderClass() |
BusinessReportStatus |
status()
The status of the report generation execution (RUNNING, SUCCEEDED, or FAILED).
|
String |
statusAsString()
The status of the report generation execution (RUNNING, SUCCEEDED, or FAILED).
|
BusinessReport.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
copy
public final BusinessReportStatus status()
The status of the report generation execution (RUNNING, SUCCEEDED, or FAILED).
If the service returns an enum value that is not available in the current SDK version, status
will
return BusinessReportStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from statusAsString()
.
BusinessReportStatus
public final String statusAsString()
The status of the report generation execution (RUNNING, SUCCEEDED, or FAILED).
If the service returns an enum value that is not available in the current SDK version, status
will
return BusinessReportStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from statusAsString()
.
BusinessReportStatus
public final BusinessReportFailureCode failureCode()
The failure code.
If the service returns an enum value that is not available in the current SDK version, failureCode
will
return BusinessReportFailureCode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from failureCodeAsString()
.
BusinessReportFailureCode
public final String failureCodeAsString()
The failure code.
If the service returns an enum value that is not available in the current SDK version, failureCode
will
return BusinessReportFailureCode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from failureCodeAsString()
.
BusinessReportFailureCode
public final BusinessReportS3Location s3Location()
The S3 location of the output reports.
public final Instant deliveryTime()
The time of report delivery.
public final String downloadUrl()
The download link where a user can download the report.
public BusinessReport.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<BusinessReport.Builder,BusinessReport>
public static BusinessReport.Builder builder()
public static Class<? extends BusinessReport.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()