com.pulumi.azurenative.recoveryservices.outputs.InMageRcmProtectionContainerMappingDetailsResponse 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.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class InMageRcmProtectionContainerMappingDetailsResponse {
/**
* @return A value indicating whether the flag for enable agent auto upgrade.
*
*/
private String enableAgentAutoUpgrade;
/**
* @return Gets the class type. Overridden in derived classes.
* Expected value is 'InMageRcm'.
*
*/
private String instanceType;
private InMageRcmProtectionContainerMappingDetailsResponse() {}
/**
* @return A value indicating whether the flag for enable agent auto upgrade.
*
*/
public String enableAgentAutoUpgrade() {
return this.enableAgentAutoUpgrade;
}
/**
* @return Gets the class type. Overridden in derived classes.
* Expected value is 'InMageRcm'.
*
*/
public String instanceType() {
return this.instanceType;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(InMageRcmProtectionContainerMappingDetailsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String enableAgentAutoUpgrade;
private String instanceType;
public Builder() {}
public Builder(InMageRcmProtectionContainerMappingDetailsResponse defaults) {
Objects.requireNonNull(defaults);
this.enableAgentAutoUpgrade = defaults.enableAgentAutoUpgrade;
this.instanceType = defaults.instanceType;
}
@CustomType.Setter
public Builder enableAgentAutoUpgrade(String enableAgentAutoUpgrade) {
if (enableAgentAutoUpgrade == null) {
throw new MissingRequiredPropertyException("InMageRcmProtectionContainerMappingDetailsResponse", "enableAgentAutoUpgrade");
}
this.enableAgentAutoUpgrade = enableAgentAutoUpgrade;
return this;
}
@CustomType.Setter
public Builder instanceType(String instanceType) {
if (instanceType == null) {
throw new MissingRequiredPropertyException("InMageRcmProtectionContainerMappingDetailsResponse", "instanceType");
}
this.instanceType = instanceType;
return this;
}
public InMageRcmProtectionContainerMappingDetailsResponse build() {
final var _resultValue = new InMageRcmProtectionContainerMappingDetailsResponse();
_resultValue.enableAgentAutoUpgrade = enableAgentAutoUpgrade;
_resultValue.instanceType = instanceType;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy