/* * 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.elastictranscoder.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** *

* The UpdatePipelineNotificationsRequest structure. *

*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class UpdatePipelineNotificationsRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *

* The identifier of the pipeline for which you want to change notification settings. *

*/ private String id; /** *

* The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job * status. *

* *

* To receive notifications, you must also subscribe to the new topic in the Amazon SNS console. *

*
* */ private Notifications notifications; /** *

* The identifier of the pipeline for which you want to change notification settings. *

* * @param id * The identifier of the pipeline for which you want to change notification settings. */ public void setId(String id) { this.id = id; } /** *

* The identifier of the pipeline for which you want to change notification settings. *

* * @return The identifier of the pipeline for which you want to change notification settings. */ public String getId() { return this.id; } /** *

* The identifier of the pipeline for which you want to change notification settings. *

* * @param id * The identifier of the pipeline for which you want to change notification settings. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdatePipelineNotificationsRequest withId(String id) { setId(id); return this; } /** *

* The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job * status. *

* *

* To receive notifications, you must also subscribe to the new topic in the Amazon SNS console. *

*
* * * @param notifications * The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to * report job status.

*

* To receive notifications, you must also subscribe to the new topic in the Amazon SNS console. *

*
*