/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.codebuild.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* A series of reports. Each report contains information about the results from running a series of test cases. You * specify the test cases for a report group in the buildspec for a build project using one or more paths to the test * case files. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ReportGroup implements Serializable, Cloneable, StructuredPojo { /** *
* The ARN of the ReportGroup
.
*
* The name of the ReportGroup
.
*
* The type of the ReportGroup
. This can be one of the following values:
*
* The report group contains code coverage reports. *
** The report group contains test reports. *
*
* Information about the destination where the raw data of this ReportGroup
is exported.
*
* The date and time this ReportGroup
was created.
*
* The date and time this ReportGroup
was last modified.
*
* A list of tag key and value pairs associated with this report group. *
** These tags are available for use by Amazon Web Services services that support CodeBuild report group tags. *
*/ private java.util.List* The status of the report group. This property is read-only. *
** This can be one of the following values: *
** The report group is active. *
** The report group is in the process of being deleted. *
*
* The ARN of the ReportGroup
.
*
ReportGroup
.
*/
public void setArn(String arn) {
this.arn = arn;
}
/**
*
* The ARN of the ReportGroup
.
*
ReportGroup
.
*/
public String getArn() {
return this.arn;
}
/**
*
* The ARN of the ReportGroup
.
*
ReportGroup
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public ReportGroup withArn(String arn) {
setArn(arn);
return this;
}
/**
*
* The name of the ReportGroup
.
*
ReportGroup
.
*/
public void setName(String name) {
this.name = name;
}
/**
*
* The name of the ReportGroup
.
*
ReportGroup
.
*/
public String getName() {
return this.name;
}
/**
*
* The name of the ReportGroup
.
*
ReportGroup
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public ReportGroup withName(String name) {
setName(name);
return this;
}
/**
*
* The type of the ReportGroup
. This can be one of the following values:
*
* The report group contains code coverage reports. *
** The report group contains test reports. *
*ReportGroup
. This can be one of the following values:
* * The report group contains code coverage reports. *
** The report group contains test reports. *
*
* The type of the ReportGroup
. This can be one of the following values:
*
* The report group contains code coverage reports. *
** The report group contains test reports. *
*ReportGroup
. This can be one of the following values:
* * The report group contains code coverage reports. *
** The report group contains test reports. *
*
* The type of the ReportGroup
. This can be one of the following values:
*
* The report group contains code coverage reports. *
** The report group contains test reports. *
*ReportGroup
. This can be one of the following values:
* * The report group contains code coverage reports. *
** The report group contains test reports. *
*
* The type of the ReportGroup
. This can be one of the following values:
*
* The report group contains code coverage reports. *
** The report group contains test reports. *
*ReportGroup
. This can be one of the following values:
* * The report group contains code coverage reports. *
** The report group contains test reports. *
*
* Information about the destination where the raw data of this ReportGroup
is exported.
*
ReportGroup
is exported.
*/
public void setExportConfig(ReportExportConfig exportConfig) {
this.exportConfig = exportConfig;
}
/**
*
* Information about the destination where the raw data of this ReportGroup
is exported.
*
ReportGroup
is exported.
*/
public ReportExportConfig getExportConfig() {
return this.exportConfig;
}
/**
*
* Information about the destination where the raw data of this ReportGroup
is exported.
*
ReportGroup
is exported.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public ReportGroup withExportConfig(ReportExportConfig exportConfig) {
setExportConfig(exportConfig);
return this;
}
/**
*
* The date and time this ReportGroup
was created.
*
ReportGroup
was created.
*/
public void setCreated(java.util.Date created) {
this.created = created;
}
/**
*
* The date and time this ReportGroup
was created.
*
ReportGroup
was created.
*/
public java.util.Date getCreated() {
return this.created;
}
/**
*
* The date and time this ReportGroup
was created.
*
ReportGroup
was created.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public ReportGroup withCreated(java.util.Date created) {
setCreated(created);
return this;
}
/**
*
* The date and time this ReportGroup
was last modified.
*
ReportGroup
was last modified.
*/
public void setLastModified(java.util.Date lastModified) {
this.lastModified = lastModified;
}
/**
*
* The date and time this ReportGroup
was last modified.
*
ReportGroup
was last modified.
*/
public java.util.Date getLastModified() {
return this.lastModified;
}
/**
*
* The date and time this ReportGroup
was last modified.
*
ReportGroup
was last modified.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public ReportGroup withLastModified(java.util.Date lastModified) {
setLastModified(lastModified);
return this;
}
/**
* * A list of tag key and value pairs associated with this report group. *
** These tags are available for use by Amazon Web Services services that support CodeBuild report group tags. *
* * @return A list of tag key and value pairs associated with this report group. *
* These tags are available for use by Amazon Web Services services that support CodeBuild report group
* tags.
*/
public java.util.List
* A list of tag key and value pairs associated with this report group.
*
* These tags are available for use by Amazon Web Services services that support CodeBuild report group tags.
*
* These tags are available for use by Amazon Web Services services that support CodeBuild report group tags.
*/
public void setTags(java.util.Collection
* A list of tag key and value pairs associated with this report group.
*
* These tags are available for use by Amazon Web Services services that support CodeBuild report group tags.
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setTags(java.util.Collection)} or {@link #withTags(java.util.Collection)} if you want to override the
* existing values.
*
* These tags are available for use by Amazon Web Services services that support CodeBuild report group tags.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public ReportGroup withTags(Tag... tags) {
if (this.tags == null) {
setTags(new java.util.ArrayList
* A list of tag key and value pairs associated with this report group.
*
* These tags are available for use by Amazon Web Services services that support CodeBuild report group tags.
*
* These tags are available for use by Amazon Web Services services that support CodeBuild report group tags.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public ReportGroup withTags(java.util.Collection
* The status of the report group. This property is read-only.
*
* This can be one of the following values:
*
* The report group is active.
*
* The report group is in the process of being deleted.
*
*
*
* @param status
* The status of the report group. This property is read-only.
* This can be one of the following values: *
** The report group is active. *
** The report group is in the process of being deleted. *
** The status of the report group. This property is read-only. *
** This can be one of the following values: *
** The report group is active. *
** The report group is in the process of being deleted. *
** This can be one of the following values: *
** The report group is active. *
** The report group is in the process of being deleted. *
** The status of the report group. This property is read-only. *
** This can be one of the following values: *
** The report group is active. *
** The report group is in the process of being deleted. *
** This can be one of the following values: *
** The report group is active. *
** The report group is in the process of being deleted. *
** The status of the report group. This property is read-only. *
** This can be one of the following values: *
** The report group is active. *
** The report group is in the process of being deleted. *
** This can be one of the following values: *
** The report group is active. *
** The report group is in the process of being deleted. *
*