/* * 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.chimesdkmediapipelines.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 UpdateMediaInsightsPipelineConfigurationRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* The unique identifier for the resource to be updated. Valid values include the name and ARN of the media insights * pipeline configuration. *
*/ private String identifier; /** ** The ARN of the role used by the service to access Amazon Web Services resources. *
*/ private String resourceAccessRoleArn; /** ** The configuration settings for real-time alerts for the media insights pipeline. *
*/ private RealTimeAlertConfiguration realTimeAlertConfiguration; /** ** The elements in the request, such as a processor for Amazon Transcribe or a sink for a Kinesis Data Stream.. *
*/ private java.util.List* The unique identifier for the resource to be updated. Valid values include the name and ARN of the media insights * pipeline configuration. *
* * @param identifier * The unique identifier for the resource to be updated. Valid values include the name and ARN of the media * insights pipeline configuration. */ public void setIdentifier(String identifier) { this.identifier = identifier; } /** ** The unique identifier for the resource to be updated. Valid values include the name and ARN of the media insights * pipeline configuration. *
* * @return The unique identifier for the resource to be updated. Valid values include the name and ARN of the media * insights pipeline configuration. */ public String getIdentifier() { return this.identifier; } /** ** The unique identifier for the resource to be updated. Valid values include the name and ARN of the media insights * pipeline configuration. *
* * @param identifier * The unique identifier for the resource to be updated. Valid values include the name and ARN of the media * insights pipeline configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateMediaInsightsPipelineConfigurationRequest withIdentifier(String identifier) { setIdentifier(identifier); return this; } /** ** The ARN of the role used by the service to access Amazon Web Services resources. *
* * @param resourceAccessRoleArn * The ARN of the role used by the service to access Amazon Web Services resources. */ public void setResourceAccessRoleArn(String resourceAccessRoleArn) { this.resourceAccessRoleArn = resourceAccessRoleArn; } /** ** The ARN of the role used by the service to access Amazon Web Services resources. *
* * @return The ARN of the role used by the service to access Amazon Web Services resources. */ public String getResourceAccessRoleArn() { return this.resourceAccessRoleArn; } /** ** The ARN of the role used by the service to access Amazon Web Services resources. *
* * @param resourceAccessRoleArn * The ARN of the role used by the service to access Amazon Web Services resources. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateMediaInsightsPipelineConfigurationRequest withResourceAccessRoleArn(String resourceAccessRoleArn) { setResourceAccessRoleArn(resourceAccessRoleArn); return this; } /** ** The configuration settings for real-time alerts for the media insights pipeline. *
* * @param realTimeAlertConfiguration * The configuration settings for real-time alerts for the media insights pipeline. */ public void setRealTimeAlertConfiguration(RealTimeAlertConfiguration realTimeAlertConfiguration) { this.realTimeAlertConfiguration = realTimeAlertConfiguration; } /** ** The configuration settings for real-time alerts for the media insights pipeline. *
* * @return The configuration settings for real-time alerts for the media insights pipeline. */ public RealTimeAlertConfiguration getRealTimeAlertConfiguration() { return this.realTimeAlertConfiguration; } /** ** The configuration settings for real-time alerts for the media insights pipeline. *
* * @param realTimeAlertConfiguration * The configuration settings for real-time alerts for the media insights pipeline. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateMediaInsightsPipelineConfigurationRequest withRealTimeAlertConfiguration(RealTimeAlertConfiguration realTimeAlertConfiguration) { setRealTimeAlertConfiguration(realTimeAlertConfiguration); return this; } /** ** The elements in the request, such as a processor for Amazon Transcribe or a sink for a Kinesis Data Stream.. *
* * @return The elements in the request, such as a processor for Amazon Transcribe or a sink for a Kinesis Data * Stream.. */ public java.util.List* The elements in the request, such as a processor for Amazon Transcribe or a sink for a Kinesis Data Stream.. *
* * @param elements * The elements in the request, such as a processor for Amazon Transcribe or a sink for a Kinesis Data * Stream.. */ public void setElements(java.util.Collection* The elements in the request, such as a processor for Amazon Transcribe or a sink for a Kinesis Data Stream.. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setElements(java.util.Collection)} or {@link #withElements(java.util.Collection)} if you want to override * the existing values. *
* * @param elements * The elements in the request, such as a processor for Amazon Transcribe or a sink for a Kinesis Data * Stream.. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateMediaInsightsPipelineConfigurationRequest withElements(MediaInsightsPipelineConfigurationElement... elements) { if (this.elements == null) { setElements(new java.util.ArrayList* The elements in the request, such as a processor for Amazon Transcribe or a sink for a Kinesis Data Stream.. *
* * @param elements * The elements in the request, such as a processor for Amazon Transcribe or a sink for a Kinesis Data * Stream.. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateMediaInsightsPipelineConfigurationRequest withElements(java.util.Collection