Class JobReport
- java.lang.Object
-
- software.amazon.awssdk.services.s3control.model.JobReport
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<JobReport.Builder,JobReport>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceJobReport.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringbucket()The Amazon Resource Name (ARN) for the bucket where specified job-completion report will be stored.static JobReport.Builderbuilder()Booleanenabled()Indicates whether the specified job will generate a job-completion report.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)JobReportFormatformat()The format of the specified job-completion report.StringformatAsString()The format of the specified job-completion report.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringprefix()An optional prefix to describe where in the specified bucket the job-completion report will be stored.JobReportScopereportScope()Indicates whether the job-completion report will include details of all tasks or only failed tasks.StringreportScopeAsString()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.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
bucket
public final String bucket()
The Amazon Resource Name (ARN) for the bucket where specified job-completion report will be stored.
- Returns:
- The Amazon Resource Name (ARN) for the bucket where specified job-completion report will be stored.
-
format
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,
formatwill returnJobReportFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromformatAsString().- Returns:
- The format of the specified job-completion report.
- See Also:
JobReportFormat
-
formatAsString
public 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,
formatwill returnJobReportFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromformatAsString().- Returns:
- The format of the specified job-completion report.
- See Also:
JobReportFormat
-
enabled
public final Boolean enabled()
Indicates whether the specified job will generate a job-completion report.
- Returns:
- Indicates whether the specified job will generate a job-completion report.
-
prefix
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.- Returns:
- 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.
-
reportScope
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,
reportScopewill returnJobReportScope.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreportScopeAsString().- Returns:
- Indicates whether the job-completion report will include details of all tasks or only failed tasks.
- See Also:
JobReportScope
-
reportScopeAsString
public 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,
reportScopewill returnJobReportScope.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreportScopeAsString().- Returns:
- Indicates whether the job-completion report will include details of all tasks or only failed tasks.
- See Also:
JobReportScope
-
toBuilder
public JobReport.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<JobReport.Builder,JobReport>
-
builder
public static JobReport.Builder builder()
-
serializableBuilderClass
public static Class<? extends JobReport.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-