@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Channel extends Object implements Serializable, Cloneable, StructuredPojo
Notification medium for users to get alerted for events that occur in application profile. We support SNS topic as a notification channel.
Constructor and Description |
---|
Channel() |
Modifier and Type | Method and Description |
---|---|
Channel |
clone() |
boolean |
equals(Object obj) |
List<String> |
getEventPublishers()
List of publishers for different type of events that may be detected in an application from the profile.
|
String |
getId()
Unique identifier for each
Channel in the notification configuration of a Profiling Group. |
String |
getUri()
Unique arn of the resource to be used for notifications.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEventPublishers(Collection<String> eventPublishers)
List of publishers for different type of events that may be detected in an application from the profile.
|
void |
setId(String id)
Unique identifier for each
Channel in the notification configuration of a Profiling Group. |
void |
setUri(String uri)
Unique arn of the resource to be used for notifications.
|
String |
toString()
Returns a string representation of this object.
|
Channel |
withEventPublishers(Collection<String> eventPublishers)
List of publishers for different type of events that may be detected in an application from the profile.
|
Channel |
withEventPublishers(EventPublisher... eventPublishers)
List of publishers for different type of events that may be detected in an application from the profile.
|
Channel |
withEventPublishers(String... eventPublishers)
List of publishers for different type of events that may be detected in an application from the profile.
|
Channel |
withId(String id)
Unique identifier for each
Channel in the notification configuration of a Profiling Group. |
Channel |
withUri(String uri)
Unique arn of the resource to be used for notifications.
|
public List<String> getEventPublishers()
List of publishers for different type of events that may be detected in an application from the profile. Anomaly detection is the only event publisher in Profiler.
EventPublisher
public void setEventPublishers(Collection<String> eventPublishers)
List of publishers for different type of events that may be detected in an application from the profile. Anomaly detection is the only event publisher in Profiler.
eventPublishers
- List of publishers for different type of events that may be detected in an application from the profile.
Anomaly detection is the only event publisher in Profiler.EventPublisher
public Channel withEventPublishers(String... eventPublishers)
List of publishers for different type of events that may be detected in an application from the profile. Anomaly detection is the only event publisher in Profiler.
NOTE: This method appends the values to the existing list (if any). Use
setEventPublishers(java.util.Collection)
or withEventPublishers(java.util.Collection)
if you
want to override the existing values.
eventPublishers
- List of publishers for different type of events that may be detected in an application from the profile.
Anomaly detection is the only event publisher in Profiler.EventPublisher
public Channel withEventPublishers(Collection<String> eventPublishers)
List of publishers for different type of events that may be detected in an application from the profile. Anomaly detection is the only event publisher in Profiler.
eventPublishers
- List of publishers for different type of events that may be detected in an application from the profile.
Anomaly detection is the only event publisher in Profiler.EventPublisher
public Channel withEventPublishers(EventPublisher... eventPublishers)
List of publishers for different type of events that may be detected in an application from the profile. Anomaly detection is the only event publisher in Profiler.
eventPublishers
- List of publishers for different type of events that may be detected in an application from the profile.
Anomaly detection is the only event publisher in Profiler.EventPublisher
public void setId(String id)
Unique identifier for each Channel
in the notification configuration of a Profiling Group. A random
UUID for channelId is used when adding a channel to the notification configuration if not specified in the
request.
id
- Unique identifier for each Channel
in the notification configuration of a Profiling Group. A
random UUID for channelId is used when adding a channel to the notification configuration if not specified
in the request.public String getId()
Unique identifier for each Channel
in the notification configuration of a Profiling Group. A random
UUID for channelId is used when adding a channel to the notification configuration if not specified in the
request.
Channel
in the notification configuration of a Profiling Group. A
random UUID for channelId is used when adding a channel to the notification configuration if not
specified in the request.public Channel withId(String id)
Unique identifier for each Channel
in the notification configuration of a Profiling Group. A random
UUID for channelId is used when adding a channel to the notification configuration if not specified in the
request.
id
- Unique identifier for each Channel
in the notification configuration of a Profiling Group. A
random UUID for channelId is used when adding a channel to the notification configuration if not specified
in the request.public void setUri(String uri)
Unique arn of the resource to be used for notifications. We support a valid SNS topic arn as a channel uri.
uri
- Unique arn of the resource to be used for notifications. We support a valid SNS topic arn as a channel
uri.public String getUri()
Unique arn of the resource to be used for notifications. We support a valid SNS topic arn as a channel uri.
public Channel withUri(String uri)
Unique arn of the resource to be used for notifications. We support a valid SNS topic arn as a channel uri.
uri
- Unique arn of the resource to be used for notifications. We support a valid SNS topic arn as a channel
uri.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.