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 interfaceMSKSourceConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationConfigurationauthenticationConfiguration()The authentication configuration of the Amazon MSK cluster.static MSKSourceConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmskClusterARN()The ARN of the Amazon MSK cluster.InstantreadFromTimestamp()The start date and time in UTC for the offset position within your MSK topic from where Firehose begins to read.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends MSKSourceConfiguration.Builder>serializableBuilderClass()MSKSourceConfiguration.BuildertoBuilder()StringtopicName()The topic name within the Amazon MSK cluster.StringtoString()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
ReadFromTimestampparameter 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
ReadFromTimestampparameter to Epoch (1970-01-01T00:00:00Z).
-
toBuilder
public MSKSourceConfiguration.Builder toBuilder()
- Specified by:
toBuilderin 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:
equalsBySdkFieldsin 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-