Interface Destination.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<Destination.Builder,Destination>
,SdkBuilder<Destination.Builder,Destination>
,SdkPojo
- Enclosing class:
- Destination
public static interface Destination.Builder extends SdkPojo, CopyableBuilder<Destination.Builder,Destination>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Destination.Builder
accessPolicy(String accessPolicy)
An IAM policy document that governs which Amazon Web Services accounts can create subscription filters against this destination.Destination.Builder
arn(String arn)
The ARN of this destination.Destination.Builder
creationTime(Long creationTime)
The creation time of the destination, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.Destination.Builder
destinationName(String destinationName)
The name of the destination.Destination.Builder
roleArn(String roleArn)
A role for impersonation, used when delivering log events to the target.Destination.Builder
targetArn(String targetArn)
The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream).-
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
Destination.Builder destinationName(String destinationName)
The name of the destination.
- Parameters:
destinationName
- The name of the destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetArn
Destination.Builder targetArn(String targetArn)
The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream).
- Parameters:
targetArn
- The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
Destination.Builder roleArn(String roleArn)
A role for impersonation, used when delivering log events to the target.
- Parameters:
roleArn
- A role for impersonation, used when delivering log events to the target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessPolicy
Destination.Builder accessPolicy(String accessPolicy)
An IAM policy document that governs which Amazon Web Services accounts can create subscription filters against this destination.
- Parameters:
accessPolicy
- An IAM policy document that governs which Amazon Web Services accounts can create subscription filters against this destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
Destination.Builder arn(String arn)
The ARN of this destination.
- Parameters:
arn
- The ARN of this destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
Destination.Builder creationTime(Long creationTime)
The creation time of the destination, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
- Parameters:
creationTime
- The creation time of the destination, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-