@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MSKSourceConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The configuration for the Amazon MSK cluster to be used as the source for a delivery stream.
Constructor and Description |
---|
MSKSourceConfiguration() |
Modifier and Type | Method and Description |
---|---|
MSKSourceConfiguration |
clone() |
boolean |
equals(Object obj) |
AuthenticationConfiguration |
getAuthenticationConfiguration()
The authentication configuration of the Amazon MSK cluster.
|
String |
getMSKClusterARN()
The ARN of the Amazon MSK cluster.
|
Date |
getReadFromTimestamp()
The start date and time in UTC for the offset position within your MSK topic from where Firehose begins to read.
|
String |
getTopicName()
The topic name within the Amazon MSK cluster.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAuthenticationConfiguration(AuthenticationConfiguration authenticationConfiguration)
The authentication configuration of the Amazon MSK cluster.
|
void |
setMSKClusterARN(String mSKClusterARN)
The ARN of the Amazon MSK cluster.
|
void |
setReadFromTimestamp(Date readFromTimestamp)
The start date and time in UTC for the offset position within your MSK topic from where Firehose begins to read.
|
void |
setTopicName(String topicName)
The topic name within the Amazon MSK cluster.
|
String |
toString()
Returns a string representation of this object.
|
MSKSourceConfiguration |
withAuthenticationConfiguration(AuthenticationConfiguration authenticationConfiguration)
The authentication configuration of the Amazon MSK cluster.
|
MSKSourceConfiguration |
withMSKClusterARN(String mSKClusterARN)
The ARN of the Amazon MSK cluster.
|
MSKSourceConfiguration |
withReadFromTimestamp(Date readFromTimestamp)
The start date and time in UTC for the offset position within your MSK topic from where Firehose begins to read.
|
MSKSourceConfiguration |
withTopicName(String topicName)
The topic name within the Amazon MSK cluster.
|
public void setMSKClusterARN(String mSKClusterARN)
The ARN of the Amazon MSK cluster.
mSKClusterARN
- The ARN of the Amazon MSK cluster.public String getMSKClusterARN()
The ARN of the Amazon MSK cluster.
public MSKSourceConfiguration withMSKClusterARN(String mSKClusterARN)
The ARN of the Amazon MSK cluster.
mSKClusterARN
- The ARN of the Amazon MSK cluster.public void setTopicName(String topicName)
The topic name within the Amazon MSK cluster.
topicName
- The topic name within the Amazon MSK cluster.public String getTopicName()
The topic name within the Amazon MSK cluster.
public MSKSourceConfiguration withTopicName(String topicName)
The topic name within the Amazon MSK cluster.
topicName
- The topic name within the Amazon MSK cluster.public void setAuthenticationConfiguration(AuthenticationConfiguration authenticationConfiguration)
The authentication configuration of the Amazon MSK cluster.
authenticationConfiguration
- The authentication configuration of the Amazon MSK cluster.public AuthenticationConfiguration getAuthenticationConfiguration()
The authentication configuration of the Amazon MSK cluster.
public MSKSourceConfiguration withAuthenticationConfiguration(AuthenticationConfiguration authenticationConfiguration)
The authentication configuration of the Amazon MSK cluster.
authenticationConfiguration
- The authentication configuration of the Amazon MSK cluster.public void setReadFromTimestamp(Date 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).
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).
public Date getReadFromTimestamp()
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).
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).
public MSKSourceConfiguration withReadFromTimestamp(Date 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).
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).
public String toString()
toString
in class Object
Object.toString()
public MSKSourceConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.