Class ResourceCertificateAndAcsDetails
java.lang.Object
com.azure.resourcemanager.recoveryservices.models.ResourceCertificateDetails
com.azure.resourcemanager.recoveryservices.models.ResourceCertificateAndAcsDetails
Certificate details representing the Vault credentials for ACS.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the globalAcsHostname property: Acs mgmt host name to connect to.Get the globalAcsNamespace property: ACS namespace name - tenant for our service.Get the globalAcsRPRealm property: Global ACS namespace RP realm.void
validate()
Validates the instance.withCertificate
(byte[] certificate) Set the certificate property: The base64 encoded certificate raw data string.withFriendlyName
(String friendlyName) Set the friendlyName property: Certificate friendly name.withGlobalAcsHostname
(String globalAcsHostname) Set the globalAcsHostname property: Acs mgmt host name to connect to.withGlobalAcsNamespace
(String globalAcsNamespace) Set the globalAcsNamespace property: ACS namespace name - tenant for our service.withGlobalAcsRPRealm
(String globalAcsRPRealm) Set the globalAcsRPRealm property: Global ACS namespace RP realm.withIssuer
(String issuer) Set the issuer property: Certificate issuer.withResourceId
(Long resourceId) Set the resourceId property: Resource ID of the vault.withSubject
(String subject) Set the subject property: Certificate Subject Name.withThumbprint
(String thumbprint) Set the thumbprint property: Certificate thumbprint.withValidFrom
(OffsetDateTime validFrom) Set the validFrom property: Certificate Validity start Date time.withValidTo
(OffsetDateTime validTo) Set the validTo property: Certificate Validity End Date time.Methods inherited from class com.azure.resourcemanager.recoveryservices.models.ResourceCertificateDetails
certificate, friendlyName, issuer, resourceId, subject, thumbprint, validFrom, validTo
-
Constructor Details
-
ResourceCertificateAndAcsDetails
public ResourceCertificateAndAcsDetails()
-
-
Method Details
-
globalAcsNamespace
Get the globalAcsNamespace property: ACS namespace name - tenant for our service.- Returns:
- the globalAcsNamespace value.
-
withGlobalAcsNamespace
Set the globalAcsNamespace property: ACS namespace name - tenant for our service.- Parameters:
globalAcsNamespace
- the globalAcsNamespace value to set.- Returns:
- the ResourceCertificateAndAcsDetails object itself.
-
globalAcsHostname
Get the globalAcsHostname property: Acs mgmt host name to connect to.- Returns:
- the globalAcsHostname value.
-
withGlobalAcsHostname
Set the globalAcsHostname property: Acs mgmt host name to connect to.- Parameters:
globalAcsHostname
- the globalAcsHostname value to set.- Returns:
- the ResourceCertificateAndAcsDetails object itself.
-
globalAcsRPRealm
Get the globalAcsRPRealm property: Global ACS namespace RP realm.- Returns:
- the globalAcsRPRealm value.
-
withGlobalAcsRPRealm
Set the globalAcsRPRealm property: Global ACS namespace RP realm.- Parameters:
globalAcsRPRealm
- the globalAcsRPRealm value to set.- Returns:
- the ResourceCertificateAndAcsDetails object itself.
-
withCertificate
Set the certificate property: The base64 encoded certificate raw data string.- Overrides:
withCertificate
in classResourceCertificateDetails
- Parameters:
certificate
- the certificate value to set.- Returns:
- the ResourceCertificateDetails object itself.
-
withFriendlyName
Set the friendlyName property: Certificate friendly name.- Overrides:
withFriendlyName
in classResourceCertificateDetails
- Parameters:
friendlyName
- the friendlyName value to set.- Returns:
- the ResourceCertificateDetails object itself.
-
withIssuer
Set the issuer property: Certificate issuer.- Overrides:
withIssuer
in classResourceCertificateDetails
- Parameters:
issuer
- the issuer value to set.- Returns:
- the ResourceCertificateDetails object itself.
-
withResourceId
Set the resourceId property: Resource ID of the vault.- Overrides:
withResourceId
in classResourceCertificateDetails
- Parameters:
resourceId
- the resourceId value to set.- Returns:
- the ResourceCertificateDetails object itself.
-
withSubject
Set the subject property: Certificate Subject Name.- Overrides:
withSubject
in classResourceCertificateDetails
- Parameters:
subject
- the subject value to set.- Returns:
- the ResourceCertificateDetails object itself.
-
withThumbprint
Set the thumbprint property: Certificate thumbprint.- Overrides:
withThumbprint
in classResourceCertificateDetails
- Parameters:
thumbprint
- the thumbprint value to set.- Returns:
- the ResourceCertificateDetails object itself.
-
withValidFrom
Set the validFrom property: Certificate Validity start Date time.- Overrides:
withValidFrom
in classResourceCertificateDetails
- Parameters:
validFrom
- the validFrom value to set.- Returns:
- the ResourceCertificateDetails object itself.
-
withValidTo
Set the validTo property: Certificate Validity End Date time.- Overrides:
withValidTo
in classResourceCertificateDetails
- Parameters:
validTo
- the validTo value to set.- Returns:
- the ResourceCertificateDetails object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classResourceCertificateDetails
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-