Class HazelcastJCloudsDiscoveryProperties

java.lang.Object
org.apereo.cas.configuration.model.support.hazelcast.discovery.HazelcastJCloudsDiscoveryProperties
All Implemented Interfaces:
Serializable

@RequiresModule(name="cas-server-support-hazelcast-discovery-jclouds") public class HazelcastJCloudsDiscoveryProperties extends Object implements Serializable
Since:
5.3.0
See Also:
  • Field Details

    • JCLOUDS_DISCOVERY_PROVIDER

      public static final String JCLOUDS_DISCOVERY_PROVIDER
      JClouds provider property.
      See Also:
    • JCLOUDS_DISCOVERY_IDENTITY

      public static final String JCLOUDS_DISCOVERY_IDENTITY
      JClouds identity property.
      See Also:
    • JCLOUDS_DISCOVERY_CREDENTIAL

      public static final String JCLOUDS_DISCOVERY_CREDENTIAL
      JClouds credential property.
      See Also:
    • JCLOUDS_DISCOVERY_ENDPOINT

      public static final String JCLOUDS_DISCOVERY_ENDPOINT
      JClouds endpoint property.
      See Also:
    • JCLOUDS_DISCOVERY_ZONES

      public static final String JCLOUDS_DISCOVERY_ZONES
      JClouds zones property.
      See Also:
    • JCLOUDS_DISCOVERY_REGIONS

      public static final String JCLOUDS_DISCOVERY_REGIONS
      JClouds regions property.
      See Also:
    • JCLOUDS_DISCOVERY_TAG_KEYS

      public static final String JCLOUDS_DISCOVERY_TAG_KEYS
      JClouds tag-keys property.
      See Also:
    • JCLOUDS_DISCOVERY_TAG_VALUES

      public static final String JCLOUDS_DISCOVERY_TAG_VALUES
      JClouds tag-values property.
      See Also:
    • JCLOUDS_DISCOVERY_GROUP

      public static final String JCLOUDS_DISCOVERY_GROUP
      JClouds group property.
      See Also:
    • JCLOUDS_DISCOVERY_HZ_PORT

      public static final String JCLOUDS_DISCOVERY_HZ_PORT
      JClouds hz-port property.
      See Also:
    • JCLOUDS_DISCOVERY_ROLE_NAME

      public static final String JCLOUDS_DISCOVERY_ROLE_NAME
      JClouds role-name property.
      See Also:
    • JCLOUDS_DISCOVERY_CREDENTIAL_PATH

      public static final String JCLOUDS_DISCOVERY_CREDENTIAL_PATH
      JClouds credential path property.
      See Also:
  • Constructor Details

    • HazelcastJCloudsDiscoveryProperties

      public HazelcastJCloudsDiscoveryProperties()
  • Method Details

    • getProvider

      public String getProvider()
      String value that is used to identify ComputeService provider. For example, "google-compute-engine" is used for Google Cloud services. See here for more info.
    • getIdentity

      public String getIdentity()
      Cloud Provider identity, can be thought of as a user name for cloud services.
    • getCredential

      public String getCredential()
      Cloud Provider credential, can be thought of as a password for cloud services.
    • getEndpoint

      public String getEndpoint()
      Defines the endpoint for a generic API such as OpenStack or CloudStack (optional).
    • getZones

      public String getZones()
      Defines zone for a cloud service (optional). Can be used with comma separated values for multiple values.
    • getRegions

      public String getRegions()
      Defines region for a cloud service (optional). Can be used with comma separated values for multiple values.
    • getTagKeys

      public String getTagKeys()
      Filters cloud instances with tags (optional). Can be used with comma separated values for multiple values.
    • getTagValues

      public String getTagValues()
      Filters cloud instances with tags (optional) Can be used with comma separated values for multiple values.
    • getGroup

      public String getGroup()
      Filters instance groups (optional). When used with AWS it maps to security group.
    • getPort

      public int getPort()
      Port which the hazelcast instance service uses on the cluster member. Default value is 5701. (optional)
    • getRoleName

      public String getRoleName()
      Used for IAM role support specific to AWS (optional, but if defined, no identity or credential should be defined in the configuration).
    • getCredentialPath

      public String getCredentialPath()
      Used for cloud providers which require an extra JSON or P12 key file. This denotes the path of that file. Only tested with Google Compute Engine. (Required if Google Compute Engine is used.)
    • setProvider

      public HazelcastJCloudsDiscoveryProperties setProvider(String provider)
      String value that is used to identify ComputeService provider. For example, "google-compute-engine" is used for Google Cloud services. See here for more info.
      Returns:
      this.
    • setIdentity

      public HazelcastJCloudsDiscoveryProperties setIdentity(String identity)
      Cloud Provider identity, can be thought of as a user name for cloud services.
      Returns:
      this.
    • setCredential

      public HazelcastJCloudsDiscoveryProperties setCredential(String credential)
      Cloud Provider credential, can be thought of as a password for cloud services.
      Returns:
      this.
    • setEndpoint

      public HazelcastJCloudsDiscoveryProperties setEndpoint(String endpoint)
      Defines the endpoint for a generic API such as OpenStack or CloudStack (optional).
      Returns:
      this.
    • setZones

      Defines zone for a cloud service (optional). Can be used with comma separated values for multiple values.
      Returns:
      this.
    • setRegions

      public HazelcastJCloudsDiscoveryProperties setRegions(String regions)
      Defines region for a cloud service (optional). Can be used with comma separated values for multiple values.
      Returns:
      this.
    • setTagKeys

      public HazelcastJCloudsDiscoveryProperties setTagKeys(String tagKeys)
      Filters cloud instances with tags (optional). Can be used with comma separated values for multiple values.
      Returns:
      this.
    • setTagValues

      public HazelcastJCloudsDiscoveryProperties setTagValues(String tagValues)
      Filters cloud instances with tags (optional) Can be used with comma separated values for multiple values.
      Returns:
      this.
    • setGroup

      Filters instance groups (optional). When used with AWS it maps to security group.
      Returns:
      this.
    • setPort

      public HazelcastJCloudsDiscoveryProperties setPort(int port)
      Port which the hazelcast instance service uses on the cluster member. Default value is 5701. (optional)
      Returns:
      this.
    • setRoleName

      public HazelcastJCloudsDiscoveryProperties setRoleName(String roleName)
      Used for IAM role support specific to AWS (optional, but if defined, no identity or credential should be defined in the configuration).
      Returns:
      this.
    • setCredentialPath

      public HazelcastJCloudsDiscoveryProperties setCredentialPath(String credentialPath)
      Used for cloud providers which require an extra JSON or P12 key file. This denotes the path of that file. Only tested with Google Compute Engine. (Required if Google Compute Engine is used.)
      Returns:
      this.