com.pulumi.azurenative.recoveryservices.outputs.AzureWorkloadContainerExtendedInfoResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.recoveryservices.outputs;
import com.pulumi.azurenative.recoveryservices.outputs.DistributedNodesInfoResponse;
import com.pulumi.azurenative.recoveryservices.outputs.InquiryInfoResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class AzureWorkloadContainerExtendedInfoResponse {
/**
* @return Host Os Name in case of Stand Alone and Cluster Name in case of distributed container.
*
*/
private @Nullable String hostServerName;
/**
* @return Inquiry Status for the container.
*
*/
private @Nullable InquiryInfoResponse inquiryInfo;
/**
* @return List of the nodes in case of distributed container.
*
*/
private @Nullable List nodesList;
private AzureWorkloadContainerExtendedInfoResponse() {}
/**
* @return Host Os Name in case of Stand Alone and Cluster Name in case of distributed container.
*
*/
public Optional hostServerName() {
return Optional.ofNullable(this.hostServerName);
}
/**
* @return Inquiry Status for the container.
*
*/
public Optional inquiryInfo() {
return Optional.ofNullable(this.inquiryInfo);
}
/**
* @return List of the nodes in case of distributed container.
*
*/
public List nodesList() {
return this.nodesList == null ? List.of() : this.nodesList;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AzureWorkloadContainerExtendedInfoResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String hostServerName;
private @Nullable InquiryInfoResponse inquiryInfo;
private @Nullable List nodesList;
public Builder() {}
public Builder(AzureWorkloadContainerExtendedInfoResponse defaults) {
Objects.requireNonNull(defaults);
this.hostServerName = defaults.hostServerName;
this.inquiryInfo = defaults.inquiryInfo;
this.nodesList = defaults.nodesList;
}
@CustomType.Setter
public Builder hostServerName(@Nullable String hostServerName) {
this.hostServerName = hostServerName;
return this;
}
@CustomType.Setter
public Builder inquiryInfo(@Nullable InquiryInfoResponse inquiryInfo) {
this.inquiryInfo = inquiryInfo;
return this;
}
@CustomType.Setter
public Builder nodesList(@Nullable List nodesList) {
this.nodesList = nodesList;
return this;
}
public Builder nodesList(DistributedNodesInfoResponse... nodesList) {
return nodesList(List.of(nodesList));
}
public AzureWorkloadContainerExtendedInfoResponse build() {
final var _resultValue = new AzureWorkloadContainerExtendedInfoResponse();
_resultValue.hostServerName = hostServerName;
_resultValue.inquiryInfo = inquiryInfo;
_resultValue.nodesList = nodesList;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy