@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NotificationRuleSummary extends Object implements Serializable, Cloneable, StructuredPojo
Information about a specified notification rule.
Constructor and Description |
---|
NotificationRuleSummary() |
Modifier and Type | Method and Description |
---|---|
NotificationRuleSummary |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the notification rule.
|
String |
getId()
The unique ID of the notification rule.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the notification rule.
|
void |
setId(String id)
The unique ID of the notification rule.
|
String |
toString()
Returns a string representation of this object.
|
NotificationRuleSummary |
withArn(String arn)
The Amazon Resource Name (ARN) of the notification rule.
|
NotificationRuleSummary |
withId(String id)
The unique ID of the notification rule.
|
public void setId(String id)
The unique ID of the notification rule.
id
- The unique ID of the notification rule.public String getId()
The unique ID of the notification rule.
public NotificationRuleSummary withId(String id)
The unique ID of the notification rule.
id
- The unique ID of the notification rule.public void setArn(String arn)
The Amazon Resource Name (ARN) of the notification rule.
arn
- The Amazon Resource Name (ARN) of the notification rule.public String getArn()
The Amazon Resource Name (ARN) of the notification rule.
public NotificationRuleSummary withArn(String arn)
The Amazon Resource Name (ARN) of the notification rule.
arn
- The Amazon Resource Name (ARN) of the notification rule.public String toString()
toString
in class Object
Object.toString()
public NotificationRuleSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.