@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AddNotificationChannelsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The structure representing the AddNotificationChannelsRequest.
NOOP
Constructor and Description |
---|
AddNotificationChannelsRequest() |
Modifier and Type | Method and Description |
---|---|
AddNotificationChannelsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<Channel> |
getChannels()
One or 2 channels to report to when anomalies are detected.
|
String |
getProfilingGroupName()
The name of the profiling group that we are setting up notifications for.
|
int |
hashCode() |
void |
setChannels(Collection<Channel> channels)
One or 2 channels to report to when anomalies are detected.
|
void |
setProfilingGroupName(String profilingGroupName)
The name of the profiling group that we are setting up notifications for.
|
String |
toString()
Returns a string representation of this object.
|
AddNotificationChannelsRequest |
withChannels(Channel... channels)
One or 2 channels to report to when anomalies are detected.
|
AddNotificationChannelsRequest |
withChannels(Collection<Channel> channels)
One or 2 channels to report to when anomalies are detected.
|
AddNotificationChannelsRequest |
withProfilingGroupName(String profilingGroupName)
The name of the profiling group that we are setting up notifications for.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<Channel> getChannels()
One or 2 channels to report to when anomalies are detected.
public void setChannels(Collection<Channel> channels)
One or 2 channels to report to when anomalies are detected.
channels
- One or 2 channels to report to when anomalies are detected.public AddNotificationChannelsRequest withChannels(Channel... channels)
One or 2 channels to report to when anomalies are detected.
NOTE: This method appends the values to the existing list (if any). Use
setChannels(java.util.Collection)
or withChannels(java.util.Collection)
if you want to override
the existing values.
channels
- One or 2 channels to report to when anomalies are detected.public AddNotificationChannelsRequest withChannels(Collection<Channel> channels)
One or 2 channels to report to when anomalies are detected.
channels
- One or 2 channels to report to when anomalies are detected.public void setProfilingGroupName(String profilingGroupName)
The name of the profiling group that we are setting up notifications for.
profilingGroupName
- The name of the profiling group that we are setting up notifications for.public String getProfilingGroupName()
The name of the profiling group that we are setting up notifications for.
public AddNotificationChannelsRequest withProfilingGroupName(String profilingGroupName)
The name of the profiling group that we are setting up notifications for.
profilingGroupName
- The name of the profiling group that we are setting up notifications for.public String toString()
toString
in class Object
Object.toString()
public AddNotificationChannelsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()