@Generated(value="software.amazon.awssdk:codegen") public final class JobReport extends Object implements SdkPojo, Serializable, ToCopyableBuilder<JobReport.Builder,JobReport>
Contains the configuration parameters for a job-completion report.
| Modifier and Type | Class and Description |
|---|---|
static interface |
JobReport.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
bucket()
The Amazon Resource Name (ARN) for the bucket where specified job-completion report will be stored.
|
static JobReport.Builder |
builder() |
Boolean |
enabled()
Indicates whether the specified job will generate a job-completion report.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
JobReportFormat |
format()
The format of the specified job-completion report.
|
String |
formatAsString()
The format of the specified job-completion report.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
prefix()
An optional prefix to describe where in the specified bucket the job-completion report will be stored.
|
JobReportScope |
reportScope()
Indicates whether the job-completion report will include details of all tasks or only failed tasks.
|
String |
reportScopeAsString()
Indicates whether the job-completion report will include details of all tasks or only failed tasks.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends JobReport.Builder> |
serializableBuilderClass() |
JobReport.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String bucket()
The Amazon Resource Name (ARN) for the bucket where specified job-completion report will be stored.
public final JobReportFormat format()
The format of the specified job-completion report.
If the service returns an enum value that is not available in the current SDK version, format will
return JobReportFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
formatAsString().
JobReportFormatpublic final String formatAsString()
The format of the specified job-completion report.
If the service returns an enum value that is not available in the current SDK version, format will
return JobReportFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
formatAsString().
JobReportFormatpublic final Boolean enabled()
Indicates whether the specified job will generate a job-completion report.
public final String prefix()
An optional prefix to describe where in the specified bucket the job-completion report will be stored. Amazon S3
stores the job-completion report at <prefix>/job-<job-id>/report.json.
<prefix>/job-<job-id>/report.json.public final JobReportScope reportScope()
Indicates whether the job-completion report will include details of all tasks or only failed tasks.
If the service returns an enum value that is not available in the current SDK version, reportScope will
return JobReportScope.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
reportScopeAsString().
JobReportScopepublic final String reportScopeAsString()
Indicates whether the job-completion report will include details of all tasks or only failed tasks.
If the service returns an enum value that is not available in the current SDK version, reportScope will
return JobReportScope.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
reportScopeAsString().
JobReportScopepublic JobReport.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<JobReport.Builder,JobReport>public static JobReport.Builder builder()
public static Class<? extends JobReport.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.