Class SandboxConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • isEnabled

        public SandboxConfig.Builder isEnabled​(Boolean isEnabled)
        Indicates whether sandbox config is enabled.
        Parameters:
        isEnabled - the value to set
        Returns:
        this builder
      • isPersistenceEnabled

        public SandboxConfig.Builder isPersistenceEnabled​(Boolean isPersistenceEnabled)
        Indicates whether persistent block volume storage is enabled for sandbox workspaces in this project.

        When omitted, the service-defined default is used.

        Parameters:
        isPersistenceEnabled - the value to set
        Returns:
        this builder
      • credentialProfiles

        public SandboxConfig.Builder credentialProfiles​(List<SandboxCredentialProfile> credentialProfiles)
        Named credential profiles available for Sandbox creation.

        A Sandbox can explicitly select one profile using credentialProfileLabel; omitting that selector selects none. On Project Update, omission retains existing profiles and a supplied list replaces the complete list. An empty array removes all profiles from the Project. Adding, removing, or changing profiles affects subsequently created Sandboxes after configuration propagation. Existing Sandboxes retain their selected configuration snapshot.

        Parameters:
        credentialProfiles - the value to set
        Returns:
        this builder