@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PipeLogConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The logging configuration settings for the pipe.
Constructor and Description |
---|
PipeLogConfiguration() |
Modifier and Type | Method and Description |
---|---|
PipeLogConfiguration |
clone() |
boolean |
equals(Object obj) |
CloudwatchLogsLogDestination |
getCloudwatchLogsLogDestination()
The Amazon CloudWatch Logs logging configuration settings for the pipe.
|
FirehoseLogDestination |
getFirehoseLogDestination()
The Amazon Data Firehose logging configuration settings for the pipe.
|
List<String> |
getIncludeExecutionData()
Whether the execution data (specifically, the
payload , awsRequest , and
awsResponse fields) is included in the log messages for this pipe. |
String |
getLevel()
The level of logging detail to include.
|
S3LogDestination |
getS3LogDestination()
The Amazon S3 logging configuration settings for the pipe.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCloudwatchLogsLogDestination(CloudwatchLogsLogDestination cloudwatchLogsLogDestination)
The Amazon CloudWatch Logs logging configuration settings for the pipe.
|
void |
setFirehoseLogDestination(FirehoseLogDestination firehoseLogDestination)
The Amazon Data Firehose logging configuration settings for the pipe.
|
void |
setIncludeExecutionData(Collection<String> includeExecutionData)
Whether the execution data (specifically, the
payload , awsRequest , and
awsResponse fields) is included in the log messages for this pipe. |
void |
setLevel(String level)
The level of logging detail to include.
|
void |
setS3LogDestination(S3LogDestination s3LogDestination)
The Amazon S3 logging configuration settings for the pipe.
|
String |
toString()
Returns a string representation of this object.
|
PipeLogConfiguration |
withCloudwatchLogsLogDestination(CloudwatchLogsLogDestination cloudwatchLogsLogDestination)
The Amazon CloudWatch Logs logging configuration settings for the pipe.
|
PipeLogConfiguration |
withFirehoseLogDestination(FirehoseLogDestination firehoseLogDestination)
The Amazon Data Firehose logging configuration settings for the pipe.
|
PipeLogConfiguration |
withIncludeExecutionData(Collection<String> includeExecutionData)
Whether the execution data (specifically, the
payload , awsRequest , and
awsResponse fields) is included in the log messages for this pipe. |
PipeLogConfiguration |
withIncludeExecutionData(IncludeExecutionDataOption... includeExecutionData)
Whether the execution data (specifically, the
payload , awsRequest , and
awsResponse fields) is included in the log messages for this pipe. |
PipeLogConfiguration |
withIncludeExecutionData(String... includeExecutionData)
Whether the execution data (specifically, the
payload , awsRequest , and
awsResponse fields) is included in the log messages for this pipe. |
PipeLogConfiguration |
withLevel(LogLevel level)
The level of logging detail to include.
|
PipeLogConfiguration |
withLevel(String level)
The level of logging detail to include.
|
PipeLogConfiguration |
withS3LogDestination(S3LogDestination s3LogDestination)
The Amazon S3 logging configuration settings for the pipe.
|
public void setS3LogDestination(S3LogDestination s3LogDestination)
The Amazon S3 logging configuration settings for the pipe.
s3LogDestination
- The Amazon S3 logging configuration settings for the pipe.public S3LogDestination getS3LogDestination()
The Amazon S3 logging configuration settings for the pipe.
public PipeLogConfiguration withS3LogDestination(S3LogDestination s3LogDestination)
The Amazon S3 logging configuration settings for the pipe.
s3LogDestination
- The Amazon S3 logging configuration settings for the pipe.public void setFirehoseLogDestination(FirehoseLogDestination firehoseLogDestination)
The Amazon Data Firehose logging configuration settings for the pipe.
firehoseLogDestination
- The Amazon Data Firehose logging configuration settings for the pipe.public FirehoseLogDestination getFirehoseLogDestination()
The Amazon Data Firehose logging configuration settings for the pipe.
public PipeLogConfiguration withFirehoseLogDestination(FirehoseLogDestination firehoseLogDestination)
The Amazon Data Firehose logging configuration settings for the pipe.
firehoseLogDestination
- The Amazon Data Firehose logging configuration settings for the pipe.public void setCloudwatchLogsLogDestination(CloudwatchLogsLogDestination cloudwatchLogsLogDestination)
The Amazon CloudWatch Logs logging configuration settings for the pipe.
cloudwatchLogsLogDestination
- The Amazon CloudWatch Logs logging configuration settings for the pipe.public CloudwatchLogsLogDestination getCloudwatchLogsLogDestination()
The Amazon CloudWatch Logs logging configuration settings for the pipe.
public PipeLogConfiguration withCloudwatchLogsLogDestination(CloudwatchLogsLogDestination cloudwatchLogsLogDestination)
The Amazon CloudWatch Logs logging configuration settings for the pipe.
cloudwatchLogsLogDestination
- The Amazon CloudWatch Logs logging configuration settings for the pipe.public void setLevel(String level)
The level of logging detail to include. This applies to all log destinations for the pipe.
level
- The level of logging detail to include. This applies to all log destinations for the pipe.LogLevel
public String getLevel()
The level of logging detail to include. This applies to all log destinations for the pipe.
LogLevel
public PipeLogConfiguration withLevel(String level)
The level of logging detail to include. This applies to all log destinations for the pipe.
level
- The level of logging detail to include. This applies to all log destinations for the pipe.LogLevel
public PipeLogConfiguration withLevel(LogLevel level)
The level of logging detail to include. This applies to all log destinations for the pipe.
level
- The level of logging detail to include. This applies to all log destinations for the pipe.LogLevel
public List<String> getIncludeExecutionData()
Whether the execution data (specifically, the payload
, awsRequest
, and
awsResponse
fields) is included in the log messages for this pipe.
This applies to all log destinations for the pipe.
For more information, see Including execution data in logs in the Amazon EventBridge User Guide.
payload
, awsRequest
, and
awsResponse
fields) is included in the log messages for this pipe.
This applies to all log destinations for the pipe.
For more information, see Including execution data in logs in the Amazon EventBridge User Guide.
IncludeExecutionDataOption
public void setIncludeExecutionData(Collection<String> includeExecutionData)
Whether the execution data (specifically, the payload
, awsRequest
, and
awsResponse
fields) is included in the log messages for this pipe.
This applies to all log destinations for the pipe.
For more information, see Including execution data in logs in the Amazon EventBridge User Guide.
includeExecutionData
- Whether the execution data (specifically, the payload
, awsRequest
, and
awsResponse
fields) is included in the log messages for this pipe.
This applies to all log destinations for the pipe.
For more information, see Including execution data in logs in the Amazon EventBridge User Guide.
IncludeExecutionDataOption
public PipeLogConfiguration withIncludeExecutionData(String... includeExecutionData)
Whether the execution data (specifically, the payload
, awsRequest
, and
awsResponse
fields) is included in the log messages for this pipe.
This applies to all log destinations for the pipe.
For more information, see Including execution data in logs in the Amazon EventBridge User Guide.
NOTE: This method appends the values to the existing list (if any). Use
setIncludeExecutionData(java.util.Collection)
or withIncludeExecutionData(java.util.Collection)
if you want to override the existing values.
includeExecutionData
- Whether the execution data (specifically, the payload
, awsRequest
, and
awsResponse
fields) is included in the log messages for this pipe.
This applies to all log destinations for the pipe.
For more information, see Including execution data in logs in the Amazon EventBridge User Guide.
IncludeExecutionDataOption
public PipeLogConfiguration withIncludeExecutionData(Collection<String> includeExecutionData)
Whether the execution data (specifically, the payload
, awsRequest
, and
awsResponse
fields) is included in the log messages for this pipe.
This applies to all log destinations for the pipe.
For more information, see Including execution data in logs in the Amazon EventBridge User Guide.
includeExecutionData
- Whether the execution data (specifically, the payload
, awsRequest
, and
awsResponse
fields) is included in the log messages for this pipe.
This applies to all log destinations for the pipe.
For more information, see Including execution data in logs in the Amazon EventBridge User Guide.
IncludeExecutionDataOption
public PipeLogConfiguration withIncludeExecutionData(IncludeExecutionDataOption... includeExecutionData)
Whether the execution data (specifically, the payload
, awsRequest
, and
awsResponse
fields) is included in the log messages for this pipe.
This applies to all log destinations for the pipe.
For more information, see Including execution data in logs in the Amazon EventBridge User Guide.
includeExecutionData
- Whether the execution data (specifically, the payload
, awsRequest
, and
awsResponse
fields) is included in the log messages for this pipe.
This applies to all log destinations for the pipe.
For more information, see Including execution data in logs in the Amazon EventBridge User Guide.
IncludeExecutionDataOption
public String toString()
toString
in class Object
Object.toString()
public PipeLogConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.