/* * 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.AmazonWebServiceRequest; /** * * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class UpdateReportGroupRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* The ARN of the report group to update. *
*/ private String arn; /** ** Used to specify an updated export type. Valid values are: *
*
* S3
: The report results are exported to an S3 bucket.
*
* NO_EXPORT
: The report results are not exported.
*
* An updated 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 ARN of the report group to update. *
* * @param arn * The ARN of the report group to update. */ public void setArn(String arn) { this.arn = arn; } /** ** The ARN of the report group to update. *
* * @return The ARN of the report group to update. */ public String getArn() { return this.arn; } /** ** The ARN of the report group to update. *
* * @param arn * The ARN of the report group to update. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateReportGroupRequest withArn(String arn) { setArn(arn); return this; } /** ** Used to specify an updated export type. Valid values are: *
*
* S3
: The report results are exported to an S3 bucket.
*
* NO_EXPORT
: The report results are not exported.
*
* S3
: The report results are exported to an S3 bucket.
*
* NO_EXPORT
: The report results are not exported.
*
* Used to specify an updated export type. Valid values are: *
*
* S3
: The report results are exported to an S3 bucket.
*
* NO_EXPORT
: The report results are not exported.
*
* S3
: The report results are exported to an S3 bucket.
*
* NO_EXPORT
: The report results are not exported.
*
* Used to specify an updated export type. Valid values are: *
*
* S3
: The report results are exported to an S3 bucket.
*
* NO_EXPORT
: The report results are not exported.
*
* S3
: The report results are exported to an S3 bucket.
*
* NO_EXPORT
: The report results are not exported.
*
* An updated 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 An updated 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
* An updated 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
* An updated 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 UpdateReportGroupRequest withTags(Tag... tags) {
if (this.tags == null) {
setTags(new java.util.ArrayList
* An updated 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 UpdateReportGroupRequest withTags(java.util.Collection