@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-07-14T17:07:26.321-05:00[America/Chicago]") public class CustomDomainApi extends Object
Constructor and Description |
---|
CustomDomainApi() |
CustomDomainApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
DomainResponse |
createCustomDomain(DomainRequest domain)
Create a Custom Domain
Creates your custom domain
|
DomainResponse |
createCustomDomain(DomainRequest domain,
Map<String,String> additionalHeaders)
Create a Custom Domain
Creates your custom domain
|
void |
deleteCustomDomain(String domainId)
Delete a Custom Domain
Deletes a custom domain by `domainId`
|
void |
deleteCustomDomain(String domainId,
Map<String,String> additionalHeaders)
Delete a Custom Domain
Deletes a custom domain by `domainId`
|
ApiClient |
getApiClient() |
DomainResponse |
getCustomDomain(String domainId)
Retrieve a Custom Domain
Retrieves a custom domain by `domainId`
|
DomainResponse |
getCustomDomain(String domainId,
Map<String,String> additionalHeaders)
Retrieve a Custom Domain
Retrieves a custom domain by `domainId`
|
protected static com.fasterxml.jackson.databind.ObjectMapper |
getObjectMapper() |
DomainListResponse |
listCustomDomains()
List all Custom Domains
Lists all verified custom domains for the org
|
DomainListResponse |
listCustomDomains(Map<String,String> additionalHeaders)
List all Custom Domains
Lists all verified custom domains for the org
|
DomainResponse |
replaceCustomDomain(String domainId,
UpdateDomain updateDomain)
Replace a Custom Domain's Brand
Replaces a custom domain's brand
|
DomainResponse |
replaceCustomDomain(String domainId,
UpdateDomain updateDomain,
Map<String,String> additionalHeaders)
Replace a Custom Domain's Brand
Replaces a custom domain's brand
|
void |
setApiClient(ApiClient apiClient) |
void |
upsertCertificate(String domainId,
DomainCertificate certificate)
Upsert the Custom Domain's Certificate
Upserts (creates or renews) the `MANUAL` certificate for the custom domain.
|
void |
upsertCertificate(String domainId,
DomainCertificate certificate,
Map<String,String> additionalHeaders)
Upsert the Custom Domain's Certificate
Upserts (creates or renews) the `MANUAL` certificate for the custom domain.
|
DomainResponse |
verifyDomain(String domainId)
Verify a Custom Domain
Verifies the custom domain and validity of DNS records by `domainId`.
|
DomainResponse |
verifyDomain(String domainId,
Map<String,String> additionalHeaders)
Verify a Custom Domain
Verifies the custom domain and validity of DNS records by `domainId`.
|
public CustomDomainApi()
public CustomDomainApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public DomainResponse createCustomDomain(DomainRequest domain) throws ApiException
domain
- (required)ApiException
- if fails to make API callpublic DomainResponse createCustomDomain(DomainRequest domain, Map<String,String> additionalHeaders) throws ApiException
domain
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void deleteCustomDomain(String domainId) throws ApiException
domainId
- `id` of the Domain (required)ApiException
- if fails to make API callpublic void deleteCustomDomain(String domainId, Map<String,String> additionalHeaders) throws ApiException
domainId
- `id` of the Domain (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic DomainResponse getCustomDomain(String domainId) throws ApiException
domainId
- `id` of the Domain (required)ApiException
- if fails to make API callpublic DomainResponse getCustomDomain(String domainId, Map<String,String> additionalHeaders) throws ApiException
domainId
- `id` of the Domain (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic DomainListResponse listCustomDomains() throws ApiException
ApiException
- if fails to make API callpublic DomainListResponse listCustomDomains(Map<String,String> additionalHeaders) throws ApiException
additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic DomainResponse replaceCustomDomain(String domainId, UpdateDomain updateDomain) throws ApiException
domainId
- `id` of the Domain (required)updateDomain
- (required)ApiException
- if fails to make API callpublic DomainResponse replaceCustomDomain(String domainId, UpdateDomain updateDomain, Map<String,String> additionalHeaders) throws ApiException
domainId
- `id` of the Domain (required)updateDomain
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void upsertCertificate(String domainId, DomainCertificate certificate) throws ApiException
domainId
- `id` of the Domain (required)certificate
- (required)ApiException
- if fails to make API callpublic void upsertCertificate(String domainId, DomainCertificate certificate, Map<String,String> additionalHeaders) throws ApiException
domainId
- `id` of the Domain (required)certificate
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic DomainResponse verifyDomain(String domainId) throws ApiException
domainId
- `id` of the Domain (required)ApiException
- if fails to make API callpublic DomainResponse verifyDomain(String domainId, Map<String,String> additionalHeaders) throws ApiException
domainId
- `id` of the Domain (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callprotected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
Copyright © 2017–2023 Okta. All rights reserved.