Class TargetPoolCreationOptions.Builder

    • Constructor Detail

      • Builder

        public Builder​(String name)
    • Method Detail

      • instances

        public TargetPoolCreationOptions.Builder instances​(List<URI> instances)
        A List of resource URIs to the member VMs serving this pool. They must live in zones contained in the same region as this pool.
      • failoverRatio

        public TargetPoolCreationOptions.Builder failoverRatio​(float failoverRatio)
        This field is applicable only when the target pool is serving a forwarding rule as the primary pool (e.g. not as a backup pool to some other target pool). The value of the a float between [0, 1]. If set, backupPool must also be set.
        Returns:
        failoverRatio, a float between [0, 1]
      • backupPool

        public TargetPoolCreationOptions.Builder backupPool​(URI backupPool)
        This field is applicable only when the target pool is serving a forwarding rule as the primary pool (e.g. not as a backup pool to some other target pool). Must be a fully-qualified URL to a target pool that is in the same region as the primary target pool. If set, failoverRatio must also be set
        Returns:
        backupPool, Fully-qualified URI to a target pool in the same region as primary target pool