@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AuditNotificationTarget extends Object implements Serializable, Cloneable, StructuredPojo
Information about the targets to which audit notifications are sent.
Constructor and Description |
---|
AuditNotificationTarget() |
Modifier and Type | Method and Description |
---|---|
AuditNotificationTarget |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnabled()
True if notifications to the target are enabled.
|
String |
getRoleArn()
The ARN of the role that grants permission to send notifications to the target.
|
String |
getTargetArn()
The ARN of the target (SNS topic) to which audit notifications are sent.
|
int |
hashCode() |
Boolean |
isEnabled()
True if notifications to the target are enabled.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEnabled(Boolean enabled)
True if notifications to the target are enabled.
|
void |
setRoleArn(String roleArn)
The ARN of the role that grants permission to send notifications to the target.
|
void |
setTargetArn(String targetArn)
The ARN of the target (SNS topic) to which audit notifications are sent.
|
String |
toString()
Returns a string representation of this object.
|
AuditNotificationTarget |
withEnabled(Boolean enabled)
True if notifications to the target are enabled.
|
AuditNotificationTarget |
withRoleArn(String roleArn)
The ARN of the role that grants permission to send notifications to the target.
|
AuditNotificationTarget |
withTargetArn(String targetArn)
The ARN of the target (SNS topic) to which audit notifications are sent.
|
public void setTargetArn(String targetArn)
The ARN of the target (SNS topic) to which audit notifications are sent.
targetArn
- The ARN of the target (SNS topic) to which audit notifications are sent.public String getTargetArn()
The ARN of the target (SNS topic) to which audit notifications are sent.
public AuditNotificationTarget withTargetArn(String targetArn)
The ARN of the target (SNS topic) to which audit notifications are sent.
targetArn
- The ARN of the target (SNS topic) to which audit notifications are sent.public void setRoleArn(String roleArn)
The ARN of the role that grants permission to send notifications to the target.
roleArn
- The ARN of the role that grants permission to send notifications to the target.public String getRoleArn()
The ARN of the role that grants permission to send notifications to the target.
public AuditNotificationTarget withRoleArn(String roleArn)
The ARN of the role that grants permission to send notifications to the target.
roleArn
- The ARN of the role that grants permission to send notifications to the target.public void setEnabled(Boolean enabled)
True if notifications to the target are enabled.
enabled
- True if notifications to the target are enabled.public Boolean getEnabled()
True if notifications to the target are enabled.
public AuditNotificationTarget withEnabled(Boolean enabled)
True if notifications to the target are enabled.
enabled
- True if notifications to the target are enabled.public Boolean isEnabled()
True if notifications to the target are enabled.
public String toString()
toString
in class Object
Object.toString()
public AuditNotificationTarget clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.