@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobReport extends Object implements Serializable, Cloneable
Contains the configuration parameters for a job-completion report.
Constructor and Description |
---|
JobReport() |
Modifier and Type | Method and Description |
---|---|
JobReport |
clone() |
boolean |
equals(Object obj) |
String |
getBucket()
The Amazon Resource Name (ARN) for the bucket where specified job-completion report will be stored.
|
Boolean |
getEnabled()
Indicates whether the specified job will generate a job-completion report.
|
String |
getFormat()
The format of the specified job-completion report.
|
String |
getPrefix()
An optional prefix to describe where in the specified bucket the job-completion report will be stored.
|
String |
getReportScope()
Indicates whether the job-completion report will include details of all tasks or only failed tasks.
|
int |
hashCode() |
Boolean |
isEnabled()
Indicates whether the specified job will generate a job-completion report.
|
void |
setBucket(String bucket)
The Amazon Resource Name (ARN) for the bucket where specified job-completion report will be stored.
|
void |
setEnabled(Boolean enabled)
Indicates whether the specified job will generate a job-completion report.
|
void |
setFormat(String format)
The format of the specified job-completion report.
|
void |
setPrefix(String prefix)
An optional prefix to describe where in the specified bucket the job-completion report will be stored.
|
void |
setReportScope(String reportScope)
Indicates whether the job-completion report will include details of all tasks or only failed tasks.
|
String |
toString()
Returns a string representation of this object.
|
JobReport |
withBucket(String bucket)
The Amazon Resource Name (ARN) for the bucket where specified job-completion report will be stored.
|
JobReport |
withEnabled(Boolean enabled)
Indicates whether the specified job will generate a job-completion report.
|
JobReport |
withFormat(JobReportFormat format)
The format of the specified job-completion report.
|
JobReport |
withFormat(String format)
The format of the specified job-completion report.
|
JobReport |
withPrefix(String prefix)
An optional prefix to describe where in the specified bucket the job-completion report will be stored.
|
JobReport |
withReportScope(JobReportScope reportScope)
Indicates whether the job-completion report will include details of all tasks or only failed tasks.
|
JobReport |
withReportScope(String reportScope)
Indicates whether the job-completion report will include details of all tasks or only failed tasks.
|
public void setBucket(String bucket)
The Amazon Resource Name (ARN) for the bucket where specified job-completion report will be stored.
bucket
- The Amazon Resource Name (ARN) for the bucket where specified job-completion report will be stored.public String getBucket()
The Amazon Resource Name (ARN) for the bucket where specified job-completion report will be stored.
public JobReport withBucket(String bucket)
The Amazon Resource Name (ARN) for the bucket where specified job-completion report will be stored.
bucket
- The Amazon Resource Name (ARN) for the bucket where specified job-completion report will be stored.public void setFormat(String format)
The format of the specified job-completion report.
format
- The format of the specified job-completion report.JobReportFormat
public String getFormat()
The format of the specified job-completion report.
JobReportFormat
public JobReport withFormat(String format)
The format of the specified job-completion report.
format
- The format of the specified job-completion report.JobReportFormat
public JobReport withFormat(JobReportFormat format)
The format of the specified job-completion report.
format
- The format of the specified job-completion report.JobReportFormat
public void setEnabled(Boolean enabled)
Indicates whether the specified job will generate a job-completion report.
enabled
- Indicates whether the specified job will generate a job-completion report.public Boolean getEnabled()
Indicates whether the specified job will generate a job-completion report.
public JobReport withEnabled(Boolean enabled)
Indicates whether the specified job will generate a job-completion report.
enabled
- Indicates whether the specified job will generate a job-completion report.public Boolean isEnabled()
Indicates whether the specified job will generate a job-completion report.
public void setPrefix(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
- 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
.public String getPrefix()
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 JobReport withPrefix(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
- 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
.public void setReportScope(String reportScope)
Indicates whether the job-completion report will include details of all tasks or only failed tasks.
reportScope
- Indicates whether the job-completion report will include details of all tasks or only failed tasks.JobReportScope
public String getReportScope()
Indicates whether the job-completion report will include details of all tasks or only failed tasks.
JobReportScope
public JobReport withReportScope(String reportScope)
Indicates whether the job-completion report will include details of all tasks or only failed tasks.
reportScope
- Indicates whether the job-completion report will include details of all tasks or only failed tasks.JobReportScope
public JobReport withReportScope(JobReportScope reportScope)
Indicates whether the job-completion report will include details of all tasks or only failed tasks.
reportScope
- Indicates whether the job-completion report will include details of all tasks or only failed tasks.JobReportScope
public String toString()
toString
in class Object
Object.toString()