Class GcpCredentialsDetailsProperties

java.lang.Object
com.azure.resourcemanager.security.models.AuthenticationDetailsProperties
com.azure.resourcemanager.security.models.GcpCredentialsDetailsProperties

public final class GcpCredentialsDetailsProperties extends AuthenticationDetailsProperties
GCP cloud account connector based service to service credentials, the credentials are composed of the organization ID and a JSON API key (write only).
  • Constructor Details

    • GcpCredentialsDetailsProperties

      public GcpCredentialsDetailsProperties()
  • Method Details

    • organizationId

      public String organizationId()
      Get the organizationId property: The organization ID of the GCP cloud account.
      Returns:
      the organizationId value.
    • withOrganizationId

      public GcpCredentialsDetailsProperties withOrganizationId(String organizationId)
      Set the organizationId property: The organization ID of the GCP cloud account.
      Parameters:
      organizationId - the organizationId value to set.
      Returns:
      the GcpCredentialsDetailsProperties object itself.
    • type

      public String type()
      Get the type property: Type field of the API key (write only).
      Returns:
      the type value.
    • withType

      public GcpCredentialsDetailsProperties withType(String type)
      Set the type property: Type field of the API key (write only).
      Parameters:
      type - the type value to set.
      Returns:
      the GcpCredentialsDetailsProperties object itself.
    • projectId

      public String projectId()
      Get the projectId property: Project ID field of the API key (write only).
      Returns:
      the projectId value.
    • withProjectId

      public GcpCredentialsDetailsProperties withProjectId(String projectId)
      Set the projectId property: Project ID field of the API key (write only).
      Parameters:
      projectId - the projectId value to set.
      Returns:
      the GcpCredentialsDetailsProperties object itself.
    • privateKeyId

      public String privateKeyId()
      Get the privateKeyId property: Private key ID field of the API key (write only).
      Returns:
      the privateKeyId value.
    • withPrivateKeyId

      public GcpCredentialsDetailsProperties withPrivateKeyId(String privateKeyId)
      Set the privateKeyId property: Private key ID field of the API key (write only).
      Parameters:
      privateKeyId - the privateKeyId value to set.
      Returns:
      the GcpCredentialsDetailsProperties object itself.
    • privateKey

      public String privateKey()
      Get the privateKey property: Private key field of the API key (write only).
      Returns:
      the privateKey value.
    • withPrivateKey

      public GcpCredentialsDetailsProperties withPrivateKey(String privateKey)
      Set the privateKey property: Private key field of the API key (write only).
      Parameters:
      privateKey - the privateKey value to set.
      Returns:
      the GcpCredentialsDetailsProperties object itself.
    • clientEmail

      public String clientEmail()
      Get the clientEmail property: Client email field of the API key (write only).
      Returns:
      the clientEmail value.
    • withClientEmail

      public GcpCredentialsDetailsProperties withClientEmail(String clientEmail)
      Set the clientEmail property: Client email field of the API key (write only).
      Parameters:
      clientEmail - the clientEmail value to set.
      Returns:
      the GcpCredentialsDetailsProperties object itself.
    • clientId

      public String clientId()
      Get the clientId property: Client ID field of the API key (write only).
      Returns:
      the clientId value.
    • withClientId

      public GcpCredentialsDetailsProperties withClientId(String clientId)
      Set the clientId property: Client ID field of the API key (write only).
      Parameters:
      clientId - the clientId value to set.
      Returns:
      the GcpCredentialsDetailsProperties object itself.
    • authUri

      public String authUri()
      Get the authUri property: Auth URI field of the API key (write only).
      Returns:
      the authUri value.
    • withAuthUri

      public GcpCredentialsDetailsProperties withAuthUri(String authUri)
      Set the authUri property: Auth URI field of the API key (write only).
      Parameters:
      authUri - the authUri value to set.
      Returns:
      the GcpCredentialsDetailsProperties object itself.
    • tokenUri

      public String tokenUri()
      Get the tokenUri property: Token URI field of the API key (write only).
      Returns:
      the tokenUri value.
    • withTokenUri

      public GcpCredentialsDetailsProperties withTokenUri(String tokenUri)
      Set the tokenUri property: Token URI field of the API key (write only).
      Parameters:
      tokenUri - the tokenUri value to set.
      Returns:
      the GcpCredentialsDetailsProperties object itself.
    • authProviderX509CertUrl

      public String authProviderX509CertUrl()
      Get the authProviderX509CertUrl property: Auth provider x509 certificate URL field of the API key (write only).
      Returns:
      the authProviderX509CertUrl value.
    • withAuthProviderX509CertUrl

      public GcpCredentialsDetailsProperties withAuthProviderX509CertUrl(String authProviderX509CertUrl)
      Set the authProviderX509CertUrl property: Auth provider x509 certificate URL field of the API key (write only).
      Parameters:
      authProviderX509CertUrl - the authProviderX509CertUrl value to set.
      Returns:
      the GcpCredentialsDetailsProperties object itself.
    • clientX509CertUrl

      public String clientX509CertUrl()
      Get the clientX509CertUrl property: Client x509 certificate URL field of the API key (write only).
      Returns:
      the clientX509CertUrl value.
    • withClientX509CertUrl

      public GcpCredentialsDetailsProperties withClientX509CertUrl(String clientX509CertUrl)
      Set the clientX509CertUrl property: Client x509 certificate URL field of the API key (write only).
      Parameters:
      clientX509CertUrl - the clientX509CertUrl value to set.
      Returns:
      the GcpCredentialsDetailsProperties object itself.
    • validate

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