Interface PutDestinationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudWatchLogsRequest.Builder,CopyableBuilder<PutDestinationRequest.Builder,,PutDestinationRequest> SdkBuilder<PutDestinationRequest.Builder,,PutDestinationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
- PutDestinationRequest
@Mutable
@NotThreadSafe
public static interface PutDestinationRequest.Builder
extends CloudWatchLogsRequest.Builder, SdkPojo, CopyableBuilder<PutDestinationRequest.Builder,PutDestinationRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondestinationName(String destinationName) A name for the destination.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) The ARN of an IAM role that grants CloudWatch Logs permissions to call the Amazon KinesisPutRecordoperation on the destination stream.An optional list of key-value pairs to associate with the resource.The ARN of an Amazon Kinesis stream to which to deliver matching log events.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
destinationName
A name for the destination.
- Parameters:
destinationName- A name for the destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetArn
The ARN of an Amazon Kinesis stream to which to deliver matching log events.
- Parameters:
targetArn- The ARN of an Amazon Kinesis stream to which to deliver matching log events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
The ARN of an IAM role that grants CloudWatch Logs permissions to call the Amazon Kinesis
PutRecordoperation on the destination stream.- Parameters:
roleArn- The ARN of an IAM role that grants CloudWatch Logs permissions to call the Amazon KinesisPutRecordoperation on the destination stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An optional list of key-value pairs to associate with the resource.
For more information about tagging, see Tagging Amazon Web Services resources
- Parameters:
tags- An optional list of key-value pairs to associate with the resource.For more information about tagging, see Tagging Amazon Web Services resources
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PutDestinationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PutDestinationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-