Class Webhook


  • public class Webhook
    extends CreateWebhook
    Autoscale WebhookResponse. Extends Webhook with id and links.
    See Also:
    CreateWebhook#getWebhooks()
    • 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()
      • string

        protected com.google.common.base.MoreObjects.ToStringHelper string()
        Overrides:
        string in class CreateWebhook