Class UpdatePoolOptions.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(String instanceId,
                       String poolId)
        Instantiates a new builder with required properties.
        Parameters:
        instanceId - the instanceId
        poolId - the poolId
    • Method Detail

      • build

        public UpdatePoolOptions build()
        Builds a UpdatePoolOptions.
        Returns:
        the new UpdatePoolOptions instance
      • addOrigins

        public UpdatePoolOptions.Builder addOrigins​(OriginInput origins)
        Adds an origins to origins.
        Parameters:
        origins - the new origins
        Returns:
        the UpdatePoolOptions builder
      • addHealthcheckSubnets

        public UpdatePoolOptions.Builder addHealthcheckSubnets​(String healthcheckSubnets)
        Adds an healthcheckSubnets to healthcheckSubnets.
        Parameters:
        healthcheckSubnets - the new healthcheckSubnets
        Returns:
        the UpdatePoolOptions builder
      • instanceId

        public UpdatePoolOptions.Builder instanceId​(String instanceId)
        Set the instanceId.
        Parameters:
        instanceId - the instanceId
        Returns:
        the UpdatePoolOptions builder
      • poolId

        public UpdatePoolOptions.Builder poolId​(String poolId)
        Set the poolId.
        Parameters:
        poolId - the poolId
        Returns:
        the UpdatePoolOptions builder
      • description

        public UpdatePoolOptions.Builder description​(String description)
        Set the description.
        Parameters:
        description - the description
        Returns:
        the UpdatePoolOptions builder
      • enabled

        public UpdatePoolOptions.Builder enabled​(Boolean enabled)
        Set the enabled.
        Parameters:
        enabled - the enabled
        Returns:
        the UpdatePoolOptions builder
      • healthyOriginsThreshold

        public UpdatePoolOptions.Builder healthyOriginsThreshold​(long healthyOriginsThreshold)
        Set the healthyOriginsThreshold.
        Parameters:
        healthyOriginsThreshold - the healthyOriginsThreshold
        Returns:
        the UpdatePoolOptions builder
      • origins

        public UpdatePoolOptions.Builder origins​(List<OriginInput> origins)
        Set the origins. Existing origins will be replaced.
        Parameters:
        origins - the origins
        Returns:
        the UpdatePoolOptions builder
      • monitor

        public UpdatePoolOptions.Builder monitor​(String monitor)
        Set the monitor.
        Parameters:
        monitor - the monitor
        Returns:
        the UpdatePoolOptions builder
      • notificationChannel

        public UpdatePoolOptions.Builder notificationChannel​(String notificationChannel)
        Set the notificationChannel.
        Parameters:
        notificationChannel - the notificationChannel
        Returns:
        the UpdatePoolOptions builder
      • healthcheckRegion

        public UpdatePoolOptions.Builder healthcheckRegion​(String healthcheckRegion)
        Set the healthcheckRegion.
        Parameters:
        healthcheckRegion - the healthcheckRegion
        Returns:
        the UpdatePoolOptions builder
      • healthcheckSubnets

        public UpdatePoolOptions.Builder healthcheckSubnets​(List<String> healthcheckSubnets)
        Set the healthcheckSubnets. Existing healthcheckSubnets will be replaced.
        Parameters:
        healthcheckSubnets - the healthcheckSubnets
        Returns:
        the UpdatePoolOptions builder
      • xCorrelationId

        public UpdatePoolOptions.Builder xCorrelationId​(String xCorrelationId)
        Set the xCorrelationId.
        Parameters:
        xCorrelationId - the xCorrelationId
        Returns:
        the UpdatePoolOptions builder