Class CloudSqlDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • blockVolumeSizeInGBs

        public CloudSqlDetails.Builder blockVolumeSizeInGBs​(Long blockVolumeSizeInGBs)
        The size of block volume in GB that needs to be attached to a given node.

        All the necessary details needed for attachment are managed by service itself.

        Parameters:
        blockVolumeSizeInGBs - the value to set
        Returns:
        this builder
      • isKerberosMappedToDatabaseUsers

        public CloudSqlDetails.Builder isKerberosMappedToDatabaseUsers​(Boolean isKerberosMappedToDatabaseUsers)
        Boolean flag specifying whether or not Kerberos principals are mapped to database users.
        Parameters:
        isKerberosMappedToDatabaseUsers - the value to set
        Returns:
        this builder
      • ipAddress

        public CloudSqlDetails.Builder ipAddress​(String ipAddress)
        IP address of the Cloud SQL node.
        Parameters:
        ipAddress - the value to set
        Returns:
        this builder
      • kerberosDetails

        public CloudSqlDetails.Builder kerberosDetails​(List<KerberosDetails> kerberosDetails)
        Details about the Kerberos principals.
        Parameters:
        kerberosDetails - the value to set
        Returns:
        this builder