Class Webhook
- java.lang.Object
-
- org.jclouds.rackspace.autoscale.v1.domain.CreateWebhook
-
- org.jclouds.rackspace.autoscale.v1.domain.Webhook
-
public class Webhook extends CreateWebhook
Autoscale WebhookResponse. Extends Webhook with id and links.- See Also:
CreateWebhook#getWebhooks()
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jclouds.rackspace.autoscale.v1.domain.CreateWebhook
CreateWebhook.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
com.google.common.base.Optional<URI>
getAnonymousExecutionURI()
String
getId()
com.google.common.collect.ImmutableList<Link>
getLinks()
The capability Link for the webhook can be called with a POST request to execute the webhook anonymously.int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
String
toString()
-
Methods inherited from class org.jclouds.rackspace.autoscale.v1.domain.CreateWebhook
builder, getMetadata, getName, toBuilder
-
-
-
-
Method Detail
-
getId
public String getId()
- Returns:
- the unique id of this ScalingPolicy.
- See Also:
ScalingPolicyResponse.Builder#id(String)
-
getLinks
public com.google.common.collect.ImmutableList<Link> getLinks()
The capability Link for the webhook can be called with a POST request to execute the webhook anonymously.- Returns:
- the links to this ScalingPolicy.
- See Also:
ScalingPolicyResponse.Builder#links(String)
-
getAnonymousExecutionURI
public com.google.common.base.Optional<URI> getAnonymousExecutionURI()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classCreateWebhook
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classCreateWebhook
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
- Overrides:
string
in classCreateWebhook
-
toString
public String toString()
- Overrides:
toString
in classCreateWebhook
-
-