Interface EndPoint.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<EndPoint.Builder,EndPoint>
,SdkBuilder<EndPoint.Builder,EndPoint>
,SdkPojo
- Enclosing class:
- EndPoint
public static interface EndPoint.Builder extends SdkPojo, CopyableBuilder<EndPoint.Builder,EndPoint>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default EndPoint.Builder
kinesisStreamConfig(Consumer<KinesisStreamConfig.Builder> kinesisStreamConfig)
Contains information about the Amazon Kinesis data stream where you are sending real-time log data.EndPoint.Builder
kinesisStreamConfig(KinesisStreamConfig kinesisStreamConfig)
Contains information about the Amazon Kinesis data stream where you are sending real-time log data.EndPoint.Builder
streamType(String streamType)
The type of data stream where you are sending real-time log data.-
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
-
streamType
EndPoint.Builder streamType(String streamType)
The type of data stream where you are sending real-time log data. The only valid value is
Kinesis
.- Parameters:
streamType
- The type of data stream where you are sending real-time log data. The only valid value isKinesis
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kinesisStreamConfig
EndPoint.Builder kinesisStreamConfig(KinesisStreamConfig kinesisStreamConfig)
Contains information about the Amazon Kinesis data stream where you are sending real-time log data.
- Parameters:
kinesisStreamConfig
- Contains information about the Amazon Kinesis data stream where you are sending real-time log data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kinesisStreamConfig
default EndPoint.Builder kinesisStreamConfig(Consumer<KinesisStreamConfig.Builder> kinesisStreamConfig)
Contains information about the Amazon Kinesis data stream where you are sending real-time log data.
This is a convenience method that creates an instance of theKinesisStreamConfig.Builder
avoiding the need to create one manually viaKinesisStreamConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokinesisStreamConfig(KinesisStreamConfig)
.- Parameters:
kinesisStreamConfig
- a consumer that will call methods onKinesisStreamConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
kinesisStreamConfig(KinesisStreamConfig)
-
-