com.pulumi.googlenative.vmmigration.v1.outputs.AppliedLicenseResponse Maven / Gradle / Ivy
// *** 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.googlenative.vmmigration.v1.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class AppliedLicenseResponse {
/**
* @return The OS license returned from the adaptation module's report.
*
*/
private String osLicense;
/**
* @return The license type that was used in OS adaptation.
*
*/
private String type;
private AppliedLicenseResponse() {}
/**
* @return The OS license returned from the adaptation module's report.
*
*/
public String osLicense() {
return this.osLicense;
}
/**
* @return The license type that was used in OS adaptation.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AppliedLicenseResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String osLicense;
private String type;
public Builder() {}
public Builder(AppliedLicenseResponse defaults) {
Objects.requireNonNull(defaults);
this.osLicense = defaults.osLicense;
this.type = defaults.type;
}
@CustomType.Setter
public Builder osLicense(String osLicense) {
this.osLicense = Objects.requireNonNull(osLicense);
return this;
}
@CustomType.Setter
public Builder type(String type) {
this.type = Objects.requireNonNull(type);
return this;
}
public AppliedLicenseResponse build() {
final var o = new AppliedLicenseResponse();
o.osLicense = osLicense;
o.type = type;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy