@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ProtocolAndNotificationEndpoint extends Object implements Serializable, Cloneable, StructuredPojo
Protocol used in Amazon Security Lake that dictates how notifications are posted at the endpoint.
| Constructor and Description |
|---|
ProtocolAndNotificationEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
ProtocolAndNotificationEndpoint |
clone() |
boolean |
equals(Object obj) |
String |
getEndpoint()
The account that is subscribed to receive exception notifications.
|
String |
getProtocol()
The protocol to which notification messages are posted.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setEndpoint(String endpoint)
The account that is subscribed to receive exception notifications.
|
void |
setProtocol(String protocol)
The protocol to which notification messages are posted.
|
String |
toString()
Returns a string representation of this object.
|
ProtocolAndNotificationEndpoint |
withEndpoint(String endpoint)
The account that is subscribed to receive exception notifications.
|
ProtocolAndNotificationEndpoint |
withProtocol(String protocol)
The protocol to which notification messages are posted.
|
public void setEndpoint(String endpoint)
The account that is subscribed to receive exception notifications.
endpoint - The account that is subscribed to receive exception notifications.public String getEndpoint()
The account that is subscribed to receive exception notifications.
public ProtocolAndNotificationEndpoint withEndpoint(String endpoint)
The account that is subscribed to receive exception notifications.
endpoint - The account that is subscribed to receive exception notifications.public void setProtocol(String protocol)
The protocol to which notification messages are posted.
protocol - The protocol to which notification messages are posted.public String getProtocol()
The protocol to which notification messages are posted.
public ProtocolAndNotificationEndpoint withProtocol(String protocol)
The protocol to which notification messages are posted.
protocol - The protocol to which notification messages are posted.public String toString()
toString in class ObjectObject.toString()public ProtocolAndNotificationEndpoint clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.