
com.pulumi.azurenative.migrate.outputs.GetGroupsOperationResult 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.migrate.outputs;
import com.pulumi.azurenative.migrate.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetGroupsOperationResult {
/**
* @return If the assessments are in running state.
*
*/
private Boolean areAssessmentsRunning;
/**
* @return List of References to Assessments created on this group.
*
*/
private List assessments;
/**
* @return Time when this group was created. Date-Time represented in ISO-8601 format.
*
*/
private String createdTimestamp;
/**
* @return Whether the group has been created and is valid.
*
*/
private String groupStatus;
/**
* @return The type of group.
*
*/
private @Nullable String groupType;
/**
* @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*
*/
private String id;
/**
* @return Number of machines part of this group.
*
*/
private Integer machineCount;
/**
* @return The name of the resource
*
*/
private String name;
/**
* @return The status of the last operation.
*
*/
private @Nullable String provisioningState;
/**
* @return List of assessment types supported on this group.
*
*/
private @Nullable List supportedAssessmentTypes;
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
private SystemDataResponse systemData;
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
private String type;
/**
* @return Time when this group was last updated. Date-Time represented in ISO-8601 format.
*
*/
private String updatedTimestamp;
private GetGroupsOperationResult() {}
/**
* @return If the assessments are in running state.
*
*/
public Boolean areAssessmentsRunning() {
return this.areAssessmentsRunning;
}
/**
* @return List of References to Assessments created on this group.
*
*/
public List assessments() {
return this.assessments;
}
/**
* @return Time when this group was created. Date-Time represented in ISO-8601 format.
*
*/
public String createdTimestamp() {
return this.createdTimestamp;
}
/**
* @return Whether the group has been created and is valid.
*
*/
public String groupStatus() {
return this.groupStatus;
}
/**
* @return The type of group.
*
*/
public Optional groupType() {
return Optional.ofNullable(this.groupType);
}
/**
* @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*
*/
public String id() {
return this.id;
}
/**
* @return Number of machines part of this group.
*
*/
public Integer machineCount() {
return this.machineCount;
}
/**
* @return The name of the resource
*
*/
public String name() {
return this.name;
}
/**
* @return The status of the last operation.
*
*/
public Optional provisioningState() {
return Optional.ofNullable(this.provisioningState);
}
/**
* @return List of assessment types supported on this group.
*
*/
public List supportedAssessmentTypes() {
return this.supportedAssessmentTypes == null ? List.of() : this.supportedAssessmentTypes;
}
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
public String type() {
return this.type;
}
/**
* @return Time when this group was last updated. Date-Time represented in ISO-8601 format.
*
*/
public String updatedTimestamp() {
return this.updatedTimestamp;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetGroupsOperationResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Boolean areAssessmentsRunning;
private List assessments;
private String createdTimestamp;
private String groupStatus;
private @Nullable String groupType;
private String id;
private Integer machineCount;
private String name;
private @Nullable String provisioningState;
private @Nullable List supportedAssessmentTypes;
private SystemDataResponse systemData;
private String type;
private String updatedTimestamp;
public Builder() {}
public Builder(GetGroupsOperationResult defaults) {
Objects.requireNonNull(defaults);
this.areAssessmentsRunning = defaults.areAssessmentsRunning;
this.assessments = defaults.assessments;
this.createdTimestamp = defaults.createdTimestamp;
this.groupStatus = defaults.groupStatus;
this.groupType = defaults.groupType;
this.id = defaults.id;
this.machineCount = defaults.machineCount;
this.name = defaults.name;
this.provisioningState = defaults.provisioningState;
this.supportedAssessmentTypes = defaults.supportedAssessmentTypes;
this.systemData = defaults.systemData;
this.type = defaults.type;
this.updatedTimestamp = defaults.updatedTimestamp;
}
@CustomType.Setter
public Builder areAssessmentsRunning(Boolean areAssessmentsRunning) {
if (areAssessmentsRunning == null) {
throw new MissingRequiredPropertyException("GetGroupsOperationResult", "areAssessmentsRunning");
}
this.areAssessmentsRunning = areAssessmentsRunning;
return this;
}
@CustomType.Setter
public Builder assessments(List assessments) {
if (assessments == null) {
throw new MissingRequiredPropertyException("GetGroupsOperationResult", "assessments");
}
this.assessments = assessments;
return this;
}
public Builder assessments(String... assessments) {
return assessments(List.of(assessments));
}
@CustomType.Setter
public Builder createdTimestamp(String createdTimestamp) {
if (createdTimestamp == null) {
throw new MissingRequiredPropertyException("GetGroupsOperationResult", "createdTimestamp");
}
this.createdTimestamp = createdTimestamp;
return this;
}
@CustomType.Setter
public Builder groupStatus(String groupStatus) {
if (groupStatus == null) {
throw new MissingRequiredPropertyException("GetGroupsOperationResult", "groupStatus");
}
this.groupStatus = groupStatus;
return this;
}
@CustomType.Setter
public Builder groupType(@Nullable String groupType) {
this.groupType = groupType;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetGroupsOperationResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder machineCount(Integer machineCount) {
if (machineCount == null) {
throw new MissingRequiredPropertyException("GetGroupsOperationResult", "machineCount");
}
this.machineCount = machineCount;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetGroupsOperationResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder provisioningState(@Nullable String provisioningState) {
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder supportedAssessmentTypes(@Nullable List supportedAssessmentTypes) {
this.supportedAssessmentTypes = supportedAssessmentTypes;
return this;
}
public Builder supportedAssessmentTypes(String... supportedAssessmentTypes) {
return supportedAssessmentTypes(List.of(supportedAssessmentTypes));
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetGroupsOperationResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetGroupsOperationResult", "type");
}
this.type = type;
return this;
}
@CustomType.Setter
public Builder updatedTimestamp(String updatedTimestamp) {
if (updatedTimestamp == null) {
throw new MissingRequiredPropertyException("GetGroupsOperationResult", "updatedTimestamp");
}
this.updatedTimestamp = updatedTimestamp;
return this;
}
public GetGroupsOperationResult build() {
final var _resultValue = new GetGroupsOperationResult();
_resultValue.areAssessmentsRunning = areAssessmentsRunning;
_resultValue.assessments = assessments;
_resultValue.createdTimestamp = createdTimestamp;
_resultValue.groupStatus = groupStatus;
_resultValue.groupType = groupType;
_resultValue.id = id;
_resultValue.machineCount = machineCount;
_resultValue.name = name;
_resultValue.provisioningState = provisioningState;
_resultValue.supportedAssessmentTypes = supportedAssessmentTypes;
_resultValue.systemData = systemData;
_resultValue.type = type;
_resultValue.updatedTimestamp = updatedTimestamp;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy