Class Projects

All Implemented Interfaces:
Closeable, AutoCloseable

public final class Projects extends EquinixClient
The primary entry point for accessing Equinix Projects APIs.

Projects are read-only organizational containers associated with a root organization, grouping related Equinix infrastructure components under named projects.

All resource accessors use lazy initialization - internal clients are created on first access and reused for subsequent calls.

Quick Start

BasicEquinixCredentials credentials = new BasicEquinixCredentials("clientId", "clientSecret");
Projects projects = new Projects(credentials);

// List all projects
PaginatedList<Project> projectList = projects.projects().list();
Author:
ianjones
See Also:
  • Constructor Details

    • Projects

      public Projects(EquinixCredentials equinixCredentials)
      Creates a new Projects client using the provided credentials. Authentication occurs automatically on the first API call.
      Parameters:
      equinixCredentials - the OAuth2 credentials for authenticating with Equinix APIs
    • Projects

      public Projects(EquinixCredentials equinixCredentials, boolean isSandBoxed)
      Creates a new Projects client with optional sandbox mode.
      Parameters:
      equinixCredentials - the OAuth2 credentials for authenticating with Equinix APIs
      isSandBoxed - true to use the sandbox environment for testing; false for production
    • Projects

      public Projects(EquinixCredentialsProvider credentialsProvider)
      Creates a new Projects client whose credentials are resolved through the given provider. Authentication occurs automatically on the first API call.
      Parameters:
      credentialsProvider - supplies the OAuth2 credentials for authenticating with Equinix APIs
    • Projects

      public Projects(EquinixCredentialsProvider credentialsProvider, boolean isSandBoxed)
      Creates a new Projects client over a custom credentials provider, with optional sandbox mode.
      Parameters:
      credentialsProvider - supplies the OAuth2 credentials for authenticating with Equinix APIs
      isSandBoxed - true to use the sandbox environment for testing; false for production
    • Projects

      public Projects(EquinixCredentials equinixCredentials, EquinixConfig config)
      Creates a new Projects client with explicit EquinixConfig options.
      Parameters:
      equinixCredentials - the OAuth2 credentials for authenticating with Equinix APIs
      config - the construction-time options
    • Projects

      public Projects(EquinixCredentialsProvider credentialsProvider, EquinixConfig config)
      Creates a new Projects client over a custom credentials provider with explicit EquinixConfig options.
      Parameters:
      credentialsProvider - supplies the OAuth2 credentials for authenticating with Equinix APIs
      config - the construction-time options
  • Method Details

    • projects

      public ProjectList projects()
      Returns the client for listing Equinix projects. Projects are read-only organizational containers for grouping related infrastructure resources.
      Returns:
      the ProjectList client for listing projects