com.pulumi.azurenative.aad.outputs.MigrationProgressResponse 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.
The newest version!
// *** 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.aad.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Double;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class MigrationProgressResponse {
/**
* @return Completion Percentage
*
*/
private @Nullable Double completionPercentage;
/**
* @return Progress Message
*
*/
private @Nullable String progressMessage;
private MigrationProgressResponse() {}
/**
* @return Completion Percentage
*
*/
public Optional completionPercentage() {
return Optional.ofNullable(this.completionPercentage);
}
/**
* @return Progress Message
*
*/
public Optional progressMessage() {
return Optional.ofNullable(this.progressMessage);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(MigrationProgressResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Double completionPercentage;
private @Nullable String progressMessage;
public Builder() {}
public Builder(MigrationProgressResponse defaults) {
Objects.requireNonNull(defaults);
this.completionPercentage = defaults.completionPercentage;
this.progressMessage = defaults.progressMessage;
}
@CustomType.Setter
public Builder completionPercentage(@Nullable Double completionPercentage) {
this.completionPercentage = completionPercentage;
return this;
}
@CustomType.Setter
public Builder progressMessage(@Nullable String progressMessage) {
this.progressMessage = progressMessage;
return this;
}
public MigrationProgressResponse build() {
final var _resultValue = new MigrationProgressResponse();
_resultValue.completionPercentage = completionPercentage;
_resultValue.progressMessage = progressMessage;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy