
com.azure.resourcemanager.appcontainers.implementation.CustomHostnameAnalysisResultImpl Maven / Gradle / Ivy
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.appcontainers.implementation;
import com.azure.resourcemanager.appcontainers.fluent.models.CustomHostnameAnalysisResultInner;
import com.azure.resourcemanager.appcontainers.models.CustomHostnameAnalysisResult;
import com.azure.resourcemanager.appcontainers.models.CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo;
import com.azure.resourcemanager.appcontainers.models.DnsVerificationTestResult;
import java.util.Collections;
import java.util.List;
public final class CustomHostnameAnalysisResultImpl implements CustomHostnameAnalysisResult {
private CustomHostnameAnalysisResultInner innerObject;
private final com.azure.resourcemanager.appcontainers.ContainerAppsApiManager serviceManager;
CustomHostnameAnalysisResultImpl(CustomHostnameAnalysisResultInner innerObject,
com.azure.resourcemanager.appcontainers.ContainerAppsApiManager serviceManager) {
this.innerObject = innerObject;
this.serviceManager = serviceManager;
}
public String hostname() {
return this.innerModel().hostname();
}
public Boolean isHostnameAlreadyVerified() {
return this.innerModel().isHostnameAlreadyVerified();
}
public DnsVerificationTestResult customDomainVerificationTest() {
return this.innerModel().customDomainVerificationTest();
}
public CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo customDomainVerificationFailureInfo() {
return this.innerModel().customDomainVerificationFailureInfo();
}
public Boolean hasConflictOnManagedEnvironment() {
return this.innerModel().hasConflictOnManagedEnvironment();
}
public Boolean conflictWithEnvironmentCustomDomain() {
return this.innerModel().conflictWithEnvironmentCustomDomain();
}
public String conflictingContainerAppResourceId() {
return this.innerModel().conflictingContainerAppResourceId();
}
public List cNameRecords() {
List inner = this.innerModel().cNameRecords();
if (inner != null) {
return Collections.unmodifiableList(inner);
} else {
return Collections.emptyList();
}
}
public List txtRecords() {
List inner = this.innerModel().txtRecords();
if (inner != null) {
return Collections.unmodifiableList(inner);
} else {
return Collections.emptyList();
}
}
public List aRecords() {
List inner = this.innerModel().aRecords();
if (inner != null) {
return Collections.unmodifiableList(inner);
} else {
return Collections.emptyList();
}
}
public List alternateCNameRecords() {
List inner = this.innerModel().alternateCNameRecords();
if (inner != null) {
return Collections.unmodifiableList(inner);
} else {
return Collections.emptyList();
}
}
public List alternateTxtRecords() {
List inner = this.innerModel().alternateTxtRecords();
if (inner != null) {
return Collections.unmodifiableList(inner);
} else {
return Collections.emptyList();
}
}
public CustomHostnameAnalysisResultInner innerModel() {
return this.innerObject;
}
private com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager() {
return this.serviceManager;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy