public static interface PutDestinationRequest.Builder extends CloudWatchLogsRequest.Builder, CopyableBuilder<PutDestinationRequest.Builder,PutDestinationRequest>
Modifier and Type | Method and Description |
---|---|
PutDestinationRequest.Builder |
destinationName(String destinationName)
A name for the destination.
|
PutDestinationRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
PutDestinationRequest.Builder |
roleArn(String roleArn)
The ARN of an IAM role that grants CloudWatch Logs permissions to call the Amazon Kinesis PutRecord operation
on the destination stream.
|
PutDestinationRequest.Builder |
targetArn(String targetArn)
The ARN of an Amazon Kinesis stream to which to deliver matching log events.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
PutDestinationRequest.Builder destinationName(String destinationName)
A name for the destination.
destinationName
- A name for the destination.PutDestinationRequest.Builder targetArn(String targetArn)
The ARN of an Amazon Kinesis stream to which to deliver matching log events.
targetArn
- The ARN of an Amazon Kinesis stream to which to deliver matching log events.PutDestinationRequest.Builder roleArn(String roleArn)
The ARN of an IAM role that grants CloudWatch Logs permissions to call the Amazon Kinesis PutRecord operation on the destination stream.
roleArn
- The ARN of an IAM role that grants CloudWatch Logs permissions to call the Amazon Kinesis PutRecord
operation on the destination stream.PutDestinationRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.