@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdatePipeSourceManagedStreamingKafkaParameters extends Object implements Serializable, Cloneable, StructuredPojo
The parameters for using an MSK stream as a source.
Constructor and Description |
---|
UpdatePipeSourceManagedStreamingKafkaParameters() |
Modifier and Type | Method and Description |
---|---|
UpdatePipeSourceManagedStreamingKafkaParameters |
clone() |
boolean |
equals(Object obj) |
Integer |
getBatchSize()
The maximum number of records to include in each batch.
|
MSKAccessCredentials |
getCredentials()
The credentials needed to access the resource.
|
Integer |
getMaximumBatchingWindowInSeconds()
The maximum length of a time to wait for events.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBatchSize(Integer batchSize)
The maximum number of records to include in each batch.
|
void |
setCredentials(MSKAccessCredentials credentials)
The credentials needed to access the resource.
|
void |
setMaximumBatchingWindowInSeconds(Integer maximumBatchingWindowInSeconds)
The maximum length of a time to wait for events.
|
String |
toString()
Returns a string representation of this object.
|
UpdatePipeSourceManagedStreamingKafkaParameters |
withBatchSize(Integer batchSize)
The maximum number of records to include in each batch.
|
UpdatePipeSourceManagedStreamingKafkaParameters |
withCredentials(MSKAccessCredentials credentials)
The credentials needed to access the resource.
|
UpdatePipeSourceManagedStreamingKafkaParameters |
withMaximumBatchingWindowInSeconds(Integer maximumBatchingWindowInSeconds)
The maximum length of a time to wait for events.
|
public UpdatePipeSourceManagedStreamingKafkaParameters()
public void setBatchSize(Integer batchSize)
The maximum number of records to include in each batch.
batchSize
- The maximum number of records to include in each batch.public Integer getBatchSize()
The maximum number of records to include in each batch.
public UpdatePipeSourceManagedStreamingKafkaParameters withBatchSize(Integer batchSize)
The maximum number of records to include in each batch.
batchSize
- The maximum number of records to include in each batch.public void setCredentials(MSKAccessCredentials credentials)
The credentials needed to access the resource.
credentials
- The credentials needed to access the resource.public MSKAccessCredentials getCredentials()
The credentials needed to access the resource.
public UpdatePipeSourceManagedStreamingKafkaParameters withCredentials(MSKAccessCredentials credentials)
The credentials needed to access the resource.
credentials
- The credentials needed to access the resource.public void setMaximumBatchingWindowInSeconds(Integer maximumBatchingWindowInSeconds)
The maximum length of a time to wait for events.
maximumBatchingWindowInSeconds
- The maximum length of a time to wait for events.public Integer getMaximumBatchingWindowInSeconds()
The maximum length of a time to wait for events.
public UpdatePipeSourceManagedStreamingKafkaParameters withMaximumBatchingWindowInSeconds(Integer maximumBatchingWindowInSeconds)
The maximum length of a time to wait for events.
maximumBatchingWindowInSeconds
- The maximum length of a time to wait for events.public String toString()
toString
in class Object
Object.toString()
public UpdatePipeSourceManagedStreamingKafkaParameters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.