/*
* Copyright 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.
*/
/*
* Do not modify this file. This file is generated from the firehose-2015-08-04.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.KinesisFirehose.Model
{
///
/// Updates the specified HTTP endpoint destination.
///
public partial class HttpEndpointDestinationUpdate
{
private HttpEndpointBufferingHints _bufferingHints;
private CloudWatchLoggingOptions _cloudWatchLoggingOptions;
private HttpEndpointConfiguration _endpointConfiguration;
private ProcessingConfiguration _processingConfiguration;
private HttpEndpointRequestConfiguration _requestConfiguration;
private HttpEndpointRetryOptions _retryOptions;
private string _roleARN;
private HttpEndpointS3BackupMode _s3BackupMode;
private S3DestinationUpdate _s3Update;
///
/// Gets and sets the property BufferingHints.
///
/// Describes buffering options that can be applied to the data before it is delivered
/// to the HTTPS endpoint destination. Kinesis Data Firehose teats these options as hints,
/// and it might choose to use more optimal values. The SizeInMBs
and IntervalInSeconds
/// parameters are optional. However, if specify a value for one of them, you must also
/// provide a value for the other.
///
///
public HttpEndpointBufferingHints BufferingHints
{
get { return this._bufferingHints; }
set { this._bufferingHints = value; }
}
// Check to see if BufferingHints property is set
internal bool IsSetBufferingHints()
{
return this._bufferingHints != null;
}
///
/// Gets and sets the property CloudWatchLoggingOptions.
///
public CloudWatchLoggingOptions CloudWatchLoggingOptions
{
get { return this._cloudWatchLoggingOptions; }
set { this._cloudWatchLoggingOptions = value; }
}
// Check to see if CloudWatchLoggingOptions property is set
internal bool IsSetCloudWatchLoggingOptions()
{
return this._cloudWatchLoggingOptions != null;
}
///
/// Gets and sets the property EndpointConfiguration.
///
/// Describes the configuration of the HTTP endpoint destination.
///
///
public HttpEndpointConfiguration EndpointConfiguration
{
get { return this._endpointConfiguration; }
set { this._endpointConfiguration = value; }
}
// Check to see if EndpointConfiguration property is set
internal bool IsSetEndpointConfiguration()
{
return this._endpointConfiguration != null;
}
///
/// Gets and sets the property ProcessingConfiguration.
///
public ProcessingConfiguration ProcessingConfiguration
{
get { return this._processingConfiguration; }
set { this._processingConfiguration = value; }
}
// Check to see if ProcessingConfiguration property is set
internal bool IsSetProcessingConfiguration()
{
return this._processingConfiguration != null;
}
///
/// Gets and sets the property RequestConfiguration.
///
/// The configuration of the request sent to the HTTP endpoint specified as the destination.
///
///
public HttpEndpointRequestConfiguration RequestConfiguration
{
get { return this._requestConfiguration; }
set { this._requestConfiguration = value; }
}
// Check to see if RequestConfiguration property is set
internal bool IsSetRequestConfiguration()
{
return this._requestConfiguration != null;
}
///
/// Gets and sets the property RetryOptions.
///
/// Describes the retry behavior in case Kinesis Data Firehose is unable to deliver data
/// to the specified HTTP endpoint destination, or if it doesn't receive a valid acknowledgment
/// of receipt from the specified HTTP endpoint destination.
///
///
public HttpEndpointRetryOptions RetryOptions
{
get { return this._retryOptions; }
set { this._retryOptions = value; }
}
// Check to see if RetryOptions property is set
internal bool IsSetRetryOptions()
{
return this._retryOptions != null;
}
///
/// Gets and sets the property RoleARN.
///
/// Kinesis Data Firehose uses this IAM role for all the permissions that the delivery
/// stream needs.
///
///
[AWSProperty(Min=1, Max=512)]
public string RoleARN
{
get { return this._roleARN; }
set { this._roleARN = value; }
}
// Check to see if RoleARN property is set
internal bool IsSetRoleARN()
{
return this._roleARN != null;
}
///
/// Gets and sets the property S3BackupMode.
///
/// Describes the S3 bucket backup options for the data that Kinesis Firehose delivers
/// to the HTTP endpoint destination. You can back up all documents (AllData
)
/// or only the documents that Kinesis Data Firehose could not deliver to the specified
/// HTTP endpoint destination (FailedDataOnly
).
///
///
public HttpEndpointS3BackupMode S3BackupMode
{
get { return this._s3BackupMode; }
set { this._s3BackupMode = value; }
}
// Check to see if S3BackupMode property is set
internal bool IsSetS3BackupMode()
{
return this._s3BackupMode != null;
}
///
/// Gets and sets the property S3Update.
///
public S3DestinationUpdate S3Update
{
get { return this._s3Update; }
set { this._s3Update = value; }
}
// Check to see if S3Update property is set
internal bool IsSetS3Update()
{
return this._s3Update != null;
}
}
}