Class GcpProjectDetails

java.lang.Object
com.azure.resourcemanager.security.models.GcpProjectDetails

public final class GcpProjectDetails extends Object
The details about the project represented by the security connector.
  • Constructor Details

    • GcpProjectDetails

      public GcpProjectDetails()
  • Method Details

    • projectNumber

      public String projectNumber()
      Get the projectNumber property: The unique GCP Project number.
      Returns:
      the projectNumber value.
    • withProjectNumber

      public GcpProjectDetails withProjectNumber(String projectNumber)
      Set the projectNumber property: The unique GCP Project number.
      Parameters:
      projectNumber - the projectNumber value to set.
      Returns:
      the GcpProjectDetails object itself.
    • projectId

      public String projectId()
      Get the projectId property: The GCP Project id.
      Returns:
      the projectId value.
    • withProjectId

      public GcpProjectDetails withProjectId(String projectId)
      Set the projectId property: The GCP Project id.
      Parameters:
      projectId - the projectId value to set.
      Returns:
      the GcpProjectDetails object itself.
    • workloadIdentityPoolId

      public String workloadIdentityPoolId()
      Get the workloadIdentityPoolId property: The GCP workload identity federation pool id.
      Returns:
      the workloadIdentityPoolId value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.