Class MSKSourceConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.firehose.model.MSKSourceConfiguration
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<MSKSourceConfiguration.Builder,MSKSourceConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class MSKSourceConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MSKSourceConfiguration.Builder,MSKSourceConfiguration>
The configuration for the Amazon MSK cluster to be used as the source for a delivery stream.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
MSKSourceConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationConfiguration
authenticationConfiguration()
The authentication configuration of the Amazon MSK cluster.static MSKSourceConfiguration.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
mskClusterARN()
The ARN of the Amazon MSK cluster.Instant
readFromTimestamp()
The start date and time in UTC for the offset position within your MSK topic from where Firehose begins to read.List<SdkField<?>>
sdkFields()
static Class<? extends MSKSourceConfiguration.Builder>
serializableBuilderClass()
MSKSourceConfiguration.Builder
toBuilder()
String
topicName()
The topic name within the Amazon MSK cluster.String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
mskClusterARN
public final String mskClusterARN()
The ARN of the Amazon MSK cluster.
- Returns:
- The ARN of the Amazon MSK cluster.
-
topicName
public final String topicName()
The topic name within the Amazon MSK cluster.
- Returns:
- The topic name within the Amazon MSK cluster.
-
authenticationConfiguration
public final AuthenticationConfiguration authenticationConfiguration()
The authentication configuration of the Amazon MSK cluster.
- Returns:
- The authentication configuration of the Amazon MSK cluster.
-
readFromTimestamp
public final Instant readFromTimestamp()
The start date and time in UTC for the offset position within your MSK topic from where Firehose begins to read. By default, this is set to timestamp when Firehose becomes Active.
If you want to create a Firehose stream with Earliest start position from SDK or CLI, you need to set the
ReadFromTimestamp
parameter to Epoch (1970-01-01T00:00:00Z).- Returns:
- The start date and time in UTC for the offset position within your MSK topic from where Firehose begins
to read. By default, this is set to timestamp when Firehose becomes Active.
If you want to create a Firehose stream with Earliest start position from SDK or CLI, you need to set the
ReadFromTimestamp
parameter to Epoch (1970-01-01T00:00:00Z).
-
toBuilder
public MSKSourceConfiguration.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<MSKSourceConfiguration.Builder,MSKSourceConfiguration>
-
builder
public static MSKSourceConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends MSKSourceConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-