com.azure.resourcemanager.security.implementation.SecureScoreControlDetailsImpl 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.security.implementation;
import com.azure.resourcemanager.security.fluent.models.SecureScoreControlDefinitionItemInner;
import com.azure.resourcemanager.security.fluent.models.SecureScoreControlDetailsInner;
import com.azure.resourcemanager.security.models.SecureScoreControlDefinitionItem;
import com.azure.resourcemanager.security.models.SecureScoreControlDetails;
public final class SecureScoreControlDetailsImpl implements SecureScoreControlDetails {
private SecureScoreControlDetailsInner innerObject;
private final com.azure.resourcemanager.security.SecurityManager serviceManager;
SecureScoreControlDetailsImpl(SecureScoreControlDetailsInner innerObject,
com.azure.resourcemanager.security.SecurityManager serviceManager) {
this.innerObject = innerObject;
this.serviceManager = serviceManager;
}
public String id() {
return this.innerModel().id();
}
public String name() {
return this.innerModel().name();
}
public String type() {
return this.innerModel().type();
}
public String displayName() {
return this.innerModel().displayName();
}
public Integer healthyResourceCount() {
return this.innerModel().healthyResourceCount();
}
public Integer unhealthyResourceCount() {
return this.innerModel().unhealthyResourceCount();
}
public Integer notApplicableResourceCount() {
return this.innerModel().notApplicableResourceCount();
}
public Long weight() {
return this.innerModel().weight();
}
public SecureScoreControlDefinitionItem definition() {
SecureScoreControlDefinitionItemInner inner = this.innerModel().definition();
if (inner != null) {
return new SecureScoreControlDefinitionItemImpl(inner, this.manager());
} else {
return null;
}
}
public Integer max() {
return this.innerModel().max();
}
public Double current() {
return this.innerModel().current();
}
public Double percentage() {
return this.innerModel().percentage();
}
public SecureScoreControlDetailsInner innerModel() {
return this.innerObject;
}
private com.azure.resourcemanager.security.SecurityManager manager() {
return this.serviceManager;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy