Class ResourceCertificateAndAcsDetails

java.lang.Object
com.azure.resourcemanager.recoveryservices.models.ResourceCertificateDetails
com.azure.resourcemanager.recoveryservices.models.ResourceCertificateAndAcsDetails

public final class ResourceCertificateAndAcsDetails extends ResourceCertificateDetails
Certificate details representing the Vault credentials for ACS.
  • Constructor Details

    • ResourceCertificateAndAcsDetails

      public ResourceCertificateAndAcsDetails()
  • Method Details

    • globalAcsNamespace

      public String globalAcsNamespace()
      Get the globalAcsNamespace property: ACS namespace name - tenant for our service.
      Returns:
      the globalAcsNamespace value.
    • withGlobalAcsNamespace

      public ResourceCertificateAndAcsDetails withGlobalAcsNamespace(String globalAcsNamespace)
      Set the globalAcsNamespace property: ACS namespace name - tenant for our service.
      Parameters:
      globalAcsNamespace - the globalAcsNamespace value to set.
      Returns:
      the ResourceCertificateAndAcsDetails object itself.
    • globalAcsHostname

      public String globalAcsHostname()
      Get the globalAcsHostname property: Acs mgmt host name to connect to.
      Returns:
      the globalAcsHostname value.
    • withGlobalAcsHostname

      public ResourceCertificateAndAcsDetails withGlobalAcsHostname(String globalAcsHostname)
      Set the globalAcsHostname property: Acs mgmt host name to connect to.
      Parameters:
      globalAcsHostname - the globalAcsHostname value to set.
      Returns:
      the ResourceCertificateAndAcsDetails object itself.
    • globalAcsRPRealm

      public String globalAcsRPRealm()
      Get the globalAcsRPRealm property: Global ACS namespace RP realm.
      Returns:
      the globalAcsRPRealm value.
    • withGlobalAcsRPRealm

      public ResourceCertificateAndAcsDetails withGlobalAcsRPRealm(String globalAcsRPRealm)
      Set the globalAcsRPRealm property: Global ACS namespace RP realm.
      Parameters:
      globalAcsRPRealm - the globalAcsRPRealm value to set.
      Returns:
      the ResourceCertificateAndAcsDetails object itself.
    • withCertificate

      public ResourceCertificateAndAcsDetails withCertificate(byte[] certificate)
      Set the certificate property: The base64 encoded certificate raw data string.
      Overrides:
      withCertificate in class ResourceCertificateDetails
      Parameters:
      certificate - the certificate value to set.
      Returns:
      the ResourceCertificateDetails object itself.
    • withFriendlyName

      public ResourceCertificateAndAcsDetails withFriendlyName(String friendlyName)
      Set the friendlyName property: Certificate friendly name.
      Overrides:
      withFriendlyName in class ResourceCertificateDetails
      Parameters:
      friendlyName - the friendlyName value to set.
      Returns:
      the ResourceCertificateDetails object itself.
    • withIssuer

      public ResourceCertificateAndAcsDetails withIssuer(String issuer)
      Set the issuer property: Certificate issuer.
      Overrides:
      withIssuer in class ResourceCertificateDetails
      Parameters:
      issuer - the issuer value to set.
      Returns:
      the ResourceCertificateDetails object itself.
    • withResourceId

      public ResourceCertificateAndAcsDetails withResourceId(Long resourceId)
      Set the resourceId property: Resource ID of the vault.
      Overrides:
      withResourceId in class ResourceCertificateDetails
      Parameters:
      resourceId - the resourceId value to set.
      Returns:
      the ResourceCertificateDetails object itself.
    • withSubject

      public ResourceCertificateAndAcsDetails withSubject(String subject)
      Set the subject property: Certificate Subject Name.
      Overrides:
      withSubject in class ResourceCertificateDetails
      Parameters:
      subject - the subject value to set.
      Returns:
      the ResourceCertificateDetails object itself.
    • withThumbprint

      public ResourceCertificateAndAcsDetails withThumbprint(String thumbprint)
      Set the thumbprint property: Certificate thumbprint.
      Overrides:
      withThumbprint in class ResourceCertificateDetails
      Parameters:
      thumbprint - the thumbprint value to set.
      Returns:
      the ResourceCertificateDetails object itself.
    • withValidFrom

      public ResourceCertificateAndAcsDetails withValidFrom(OffsetDateTime validFrom)
      Set the validFrom property: Certificate Validity start Date time.
      Overrides:
      withValidFrom in class ResourceCertificateDetails
      Parameters:
      validFrom - the validFrom value to set.
      Returns:
      the ResourceCertificateDetails object itself.
    • withValidTo

      public ResourceCertificateAndAcsDetails withValidTo(OffsetDateTime validTo)
      Set the validTo property: Certificate Validity End Date time.
      Overrides:
      withValidTo in class ResourceCertificateDetails
      Parameters:
      validTo - the validTo value to set.
      Returns:
      the ResourceCertificateDetails object itself.
    • validate

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