Interface PutDestinationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudWatchLogsRequest.Builder,CopyableBuilder<PutDestinationRequest.Builder,PutDestinationRequest>,SdkBuilder<PutDestinationRequest.Builder,PutDestinationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- PutDestinationRequest
public static interface PutDestinationRequest.Builder extends CloudWatchLogsRequest.Builder, SdkPojo, CopyableBuilder<PutDestinationRequest.Builder,PutDestinationRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PutDestinationRequest.BuilderdestinationName(String destinationName)A name for the destination.PutDestinationRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)PutDestinationRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)PutDestinationRequest.BuilderroleArn(String roleArn)The ARN of an IAM role that grants CloudWatch Logs permissions to call the Amazon KinesisPutRecordoperation on the destination stream.PutDestinationRequest.Buildertags(Map<String,String> tags)An optional list of key-value pairs to associate with the resource.PutDestinationRequest.BuildertargetArn(String targetArn)The ARN of an Amazon Kinesis stream to which to deliver matching log events.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
destinationName
PutDestinationRequest.Builder destinationName(String 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
PutDestinationRequest.Builder targetArn(String 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
PutDestinationRequest.Builder roleArn(String 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
PutDestinationRequest.Builder tags(Map<String,String> 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
-
-