
com.pulumi.azurenative.migrate.outputs.ServersSolutionSummaryResponse 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.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ServersSolutionSummaryResponse {
/**
* @return Gets or sets the count of servers assessed.
*
*/
private @Nullable Integer assessedCount;
/**
* @return Gets or sets the count of servers discovered.
*
*/
private @Nullable Integer discoveredCount;
/**
* @return Gets the Instance type.
* Expected value is 'Servers'.
*
*/
private String instanceType;
/**
* @return Gets or sets the count of servers migrated.
*
*/
private @Nullable Integer migratedCount;
/**
* @return Gets or sets the count of servers being replicated.
*
*/
private @Nullable Integer replicatingCount;
/**
* @return Gets or sets the count of servers test migrated.
*
*/
private @Nullable Integer testMigratedCount;
private ServersSolutionSummaryResponse() {}
/**
* @return Gets or sets the count of servers assessed.
*
*/
public Optional assessedCount() {
return Optional.ofNullable(this.assessedCount);
}
/**
* @return Gets or sets the count of servers discovered.
*
*/
public Optional discoveredCount() {
return Optional.ofNullable(this.discoveredCount);
}
/**
* @return Gets the Instance type.
* Expected value is 'Servers'.
*
*/
public String instanceType() {
return this.instanceType;
}
/**
* @return Gets or sets the count of servers migrated.
*
*/
public Optional migratedCount() {
return Optional.ofNullable(this.migratedCount);
}
/**
* @return Gets or sets the count of servers being replicated.
*
*/
public Optional replicatingCount() {
return Optional.ofNullable(this.replicatingCount);
}
/**
* @return Gets or sets the count of servers test migrated.
*
*/
public Optional testMigratedCount() {
return Optional.ofNullable(this.testMigratedCount);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ServersSolutionSummaryResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Integer assessedCount;
private @Nullable Integer discoveredCount;
private String instanceType;
private @Nullable Integer migratedCount;
private @Nullable Integer replicatingCount;
private @Nullable Integer testMigratedCount;
public Builder() {}
public Builder(ServersSolutionSummaryResponse defaults) {
Objects.requireNonNull(defaults);
this.assessedCount = defaults.assessedCount;
this.discoveredCount = defaults.discoveredCount;
this.instanceType = defaults.instanceType;
this.migratedCount = defaults.migratedCount;
this.replicatingCount = defaults.replicatingCount;
this.testMigratedCount = defaults.testMigratedCount;
}
@CustomType.Setter
public Builder assessedCount(@Nullable Integer assessedCount) {
this.assessedCount = assessedCount;
return this;
}
@CustomType.Setter
public Builder discoveredCount(@Nullable Integer discoveredCount) {
this.discoveredCount = discoveredCount;
return this;
}
@CustomType.Setter
public Builder instanceType(String instanceType) {
if (instanceType == null) {
throw new MissingRequiredPropertyException("ServersSolutionSummaryResponse", "instanceType");
}
this.instanceType = instanceType;
return this;
}
@CustomType.Setter
public Builder migratedCount(@Nullable Integer migratedCount) {
this.migratedCount = migratedCount;
return this;
}
@CustomType.Setter
public Builder replicatingCount(@Nullable Integer replicatingCount) {
this.replicatingCount = replicatingCount;
return this;
}
@CustomType.Setter
public Builder testMigratedCount(@Nullable Integer testMigratedCount) {
this.testMigratedCount = testMigratedCount;
return this;
}
public ServersSolutionSummaryResponse build() {
final var _resultValue = new ServersSolutionSummaryResponse();
_resultValue.assessedCount = assessedCount;
_resultValue.discoveredCount = discoveredCount;
_resultValue.instanceType = instanceType;
_resultValue.migratedCount = migratedCount;
_resultValue.replicatingCount = replicatingCount;
_resultValue.testMigratedCount = testMigratedCount;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy