@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SourceConfig extends Object implements Serializable, Cloneable, StructuredPojo
Contains configuration information about the channel.
| Constructor and Description |
|---|
SourceConfig() |
| Modifier and Type | Method and Description |
|---|---|
SourceConfig |
clone() |
boolean |
equals(Object obj) |
List<AdvancedEventSelector> |
getAdvancedEventSelectors()
The advanced event selectors that are configured for the channel.
|
Boolean |
getApplyToAllRegions()
Specifies whether the channel applies to a single Region or to all Regions.
|
int |
hashCode() |
Boolean |
isApplyToAllRegions()
Specifies whether the channel applies to a single Region or to all Regions.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAdvancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors)
The advanced event selectors that are configured for the channel.
|
void |
setApplyToAllRegions(Boolean applyToAllRegions)
Specifies whether the channel applies to a single Region or to all Regions.
|
String |
toString()
Returns a string representation of this object.
|
SourceConfig |
withAdvancedEventSelectors(AdvancedEventSelector... advancedEventSelectors)
The advanced event selectors that are configured for the channel.
|
SourceConfig |
withAdvancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors)
The advanced event selectors that are configured for the channel.
|
SourceConfig |
withApplyToAllRegions(Boolean applyToAllRegions)
Specifies whether the channel applies to a single Region or to all Regions.
|
public void setApplyToAllRegions(Boolean applyToAllRegions)
Specifies whether the channel applies to a single Region or to all Regions.
applyToAllRegions - Specifies whether the channel applies to a single Region or to all Regions.public Boolean getApplyToAllRegions()
Specifies whether the channel applies to a single Region or to all Regions.
public SourceConfig withApplyToAllRegions(Boolean applyToAllRegions)
Specifies whether the channel applies to a single Region or to all Regions.
applyToAllRegions - Specifies whether the channel applies to a single Region or to all Regions.public Boolean isApplyToAllRegions()
Specifies whether the channel applies to a single Region or to all Regions.
public List<AdvancedEventSelector> getAdvancedEventSelectors()
The advanced event selectors that are configured for the channel.
public void setAdvancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors)
The advanced event selectors that are configured for the channel.
advancedEventSelectors - The advanced event selectors that are configured for the channel.public SourceConfig withAdvancedEventSelectors(AdvancedEventSelector... advancedEventSelectors)
The advanced event selectors that are configured for the channel.
NOTE: This method appends the values to the existing list (if any). Use
setAdvancedEventSelectors(java.util.Collection) or
withAdvancedEventSelectors(java.util.Collection) if you want to override the existing values.
advancedEventSelectors - The advanced event selectors that are configured for the channel.public SourceConfig withAdvancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors)
The advanced event selectors that are configured for the channel.
advancedEventSelectors - The advanced event selectors that are configured for the channel.public String toString()
toString in class ObjectObject.toString()public SourceConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.