/* * 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.cloudfront.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 UpdateRealtimeLogConfigRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* Contains information about the Amazon Kinesis data stream where you are sending real-time log data. *
*/ private com.amazonaws.internal.SdkInternalList* A list of fields to include in each real-time log record. *
** For more information about fields, see Real-time log configuration fields in the Amazon CloudFront Developer Guide. *
*/ private com.amazonaws.internal.SdkInternalList* The name for this real-time log configuration. *
*/ private String name; /** ** The Amazon Resource Name (ARN) for this real-time log configuration. *
*/ private String aRN; /** ** The sampling rate for this real-time log configuration. The sampling rate determines the percentage of viewer * requests that are represented in the real-time log data. You must provide an integer between 1 and 100, * inclusive. *
*/ private Long samplingRate; /** ** Contains information about the Amazon Kinesis data stream where you are sending real-time log data. *
* * @return Contains information about the Amazon Kinesis data stream where you are sending real-time log data. */ public java.util.List* Contains information about the Amazon Kinesis data stream where you are sending real-time log data. *
* * @param endPoints * Contains information about the Amazon Kinesis data stream where you are sending real-time log data. */ public void setEndPoints(java.util.Collection* Contains information about the Amazon Kinesis data stream where you are sending real-time log data. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setEndPoints(java.util.Collection)} or {@link #withEndPoints(java.util.Collection)} if you want to * override the existing values. *
* * @param endPoints * Contains information about the Amazon Kinesis data stream where you are sending real-time log data. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateRealtimeLogConfigRequest withEndPoints(EndPoint... endPoints) { if (this.endPoints == null) { setEndPoints(new com.amazonaws.internal.SdkInternalList* Contains information about the Amazon Kinesis data stream where you are sending real-time log data. *
* * @param endPoints * Contains information about the Amazon Kinesis data stream where you are sending real-time log data. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateRealtimeLogConfigRequest withEndPoints(java.util.Collection* A list of fields to include in each real-time log record. *
** For more information about fields, see Real-time log configuration fields in the Amazon CloudFront Developer Guide. *
* * @return A list of fields to include in each real-time log record. *
* For more information about fields, see Real-time log configuration fields in the Amazon CloudFront Developer Guide.
*/
public java.util.List
* A list of fields to include in each real-time log record.
*
* For more information about fields, see Real-time log configuration fields in the Amazon CloudFront Developer Guide.
*
* For more information about fields, see Real-time log configuration fields in the Amazon CloudFront Developer Guide.
*/
public void setFields(java.util.Collection
* A list of fields to include in each real-time log record.
*
* For more information about fields, see Real-time log configuration fields in the Amazon CloudFront Developer Guide.
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setFields(java.util.Collection)} or {@link #withFields(java.util.Collection)} if you want to override the
* existing values.
*
* For more information about fields, see Real-time log configuration fields in the Amazon CloudFront Developer Guide.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public UpdateRealtimeLogConfigRequest withFields(String... fields) {
if (this.fields == null) {
setFields(new com.amazonaws.internal.SdkInternalList
* A list of fields to include in each real-time log record.
*
* For more information about fields, see Real-time log configuration fields in the Amazon CloudFront Developer Guide.
*
* For more information about fields, see Real-time log configuration fields in the Amazon CloudFront Developer Guide.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public UpdateRealtimeLogConfigRequest withFields(java.util.Collection
* The name for this real-time log configuration.
*
* The name for this real-time log configuration.
*
* The name for this real-time log configuration.
*
* The Amazon Resource Name (ARN) for this real-time log configuration.
*
* The Amazon Resource Name (ARN) for this real-time log configuration.
*
* The Amazon Resource Name (ARN) for this real-time log configuration.
*
* The sampling rate for this real-time log configuration. The sampling rate determines the percentage of viewer
* requests that are represented in the real-time log data. You must provide an integer between 1 and 100,
* inclusive.
*
* The sampling rate for this real-time log configuration. The sampling rate determines the percentage of viewer
* requests that are represented in the real-time log data. You must provide an integer between 1 and 100,
* inclusive.
*
* The sampling rate for this real-time log configuration. The sampling rate determines the percentage of viewer
* requests that are represented in the real-time log data. You must provide an integer between 1 and 100,
* inclusive.
*