Class HazelcastGoogleCloudPlatformDiscoveryProperties
java.lang.Object
org.apereo.cas.configuration.model.support.hazelcast.discovery.HazelcastGoogleCloudPlatformDiscoveryProperties
- All Implemented Interfaces:
Serializable
@RequiresModule(name="cas-server-support-hazelcast-discovery-gcp")
public class HazelcastGoogleCloudPlatformDiscoveryProperties
extends Object
implements Serializable
- Since:
- 6.5.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionA range of ports where the plugin looks for Hazelcast members.getLabel()
A filter to look only for instances labeled as specified; property format:key=value
.A filesystem path to the private key for GCP service account in the JSON format; if not set, the access token is fetched from the GCP VM instance.A list of projects where the plugin looks for instances; if not set, the current project is used.A region where the plugin looks for instances; if not set, thegetZones()
property is used; if it andgetZones()
property not set, all zones of the current region are used.getZones()
A list of zones where the plugin looks for instances; if not set, all zones of the current region are used.A range of ports where the plugin looks for Hazelcast members.A filter to look only for instances labeled as specified; property format:key=value
.setPrivateKeyPath
(String privateKeyPath) A filesystem path to the private key for GCP service account in the JSON format; if not set, the access token is fetched from the GCP VM instance.setProjects
(String projects) A list of projects where the plugin looks for instances; if not set, the current project is used.A region where the plugin looks for instances; if not set, thegetZones()
property is used; if it andgetZones()
property not set, all zones of the current region are used.A list of zones where the plugin looks for instances; if not set, all zones of the current region are used.
-
Constructor Details
-
HazelcastGoogleCloudPlatformDiscoveryProperties
public HazelcastGoogleCloudPlatformDiscoveryProperties()
-
-
Method Details
-
getPrivateKeyPath
A filesystem path to the private key for GCP service account in the JSON format; if not set, the access token is fetched from the GCP VM instance. -
getProjects
A list of projects where the plugin looks for instances; if not set, the current project is used. -
getZones
A list of zones where the plugin looks for instances; if not set, all zones of the current region are used. -
getLabel
A filter to look only for instances labeled as specified; property format:key=value
. -
getHzPort
A range of ports where the plugin looks for Hazelcast members. -
getRegion
A region where the plugin looks for instances; if not set, thegetZones()
property is used; if it andgetZones()
property not set, all zones of the current region are used. -
setPrivateKeyPath
A filesystem path to the private key for GCP service account in the JSON format; if not set, the access token is fetched from the GCP VM instance.- Returns:
this
.
-
setProjects
A list of projects where the plugin looks for instances; if not set, the current project is used.- Returns:
this
.
-
setZones
A list of zones where the plugin looks for instances; if not set, all zones of the current region are used.- Returns:
this
.
-
setLabel
A filter to look only for instances labeled as specified; property format:key=value
.- Returns:
this
.
-
setHzPort
A range of ports where the plugin looks for Hazelcast members.- Returns:
this
.
-
setRegion
A region where the plugin looks for instances; if not set, thegetZones()
property is used; if it andgetZones()
property not set, all zones of the current region are used.- Returns:
this
.
-