com.azure.resourcemanager.appplatform.models.CustomDomainProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-appplatform Show documentation
Show all versions of azure-resourcemanager-appplatform Show documentation
This package contains Microsoft Azure App Platform Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.appplatform.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
/** Custom domain of app resource payload. */
@Fluent
public final class CustomDomainProperties {
/*
* The thumbprint of bound certificate.
*/
@JsonProperty(value = "thumbprint")
private String thumbprint;
/*
* The app name of domain.
*/
@JsonProperty(value = "appName", access = JsonProperty.Access.WRITE_ONLY)
private String appName;
/*
* The bound certificate name of domain.
*/
@JsonProperty(value = "certName")
private String certName;
/**
* Get the thumbprint property: The thumbprint of bound certificate.
*
* @return the thumbprint value.
*/
public String thumbprint() {
return this.thumbprint;
}
/**
* Set the thumbprint property: The thumbprint of bound certificate.
*
* @param thumbprint the thumbprint value to set.
* @return the CustomDomainProperties object itself.
*/
public CustomDomainProperties withThumbprint(String thumbprint) {
this.thumbprint = thumbprint;
return this;
}
/**
* Get the appName property: The app name of domain.
*
* @return the appName value.
*/
public String appName() {
return this.appName;
}
/**
* Get the certName property: The bound certificate name of domain.
*
* @return the certName value.
*/
public String certName() {
return this.certName;
}
/**
* Set the certName property: The bound certificate name of domain.
*
* @param certName the certName value to set.
* @return the CustomDomainProperties object itself.
*/
public CustomDomainProperties withCertName(String certName) {
this.certName = certName;
return this;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
}
}