com.pulumi.azurenative.recoveryservices.outputs.RecoveryPlanManualActionDetailsResponse 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;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class RecoveryPlanManualActionDetailsResponse {
/**
* @return The manual action description.
*
*/
private @Nullable String description;
/**
* @return Gets the type of action details (see RecoveryPlanActionDetailsTypes enum for possible values).
* Expected value is 'ManualActionDetails'.
*
*/
private String instanceType;
private RecoveryPlanManualActionDetailsResponse() {}
/**
* @return The manual action description.
*
*/
public Optional description() {
return Optional.ofNullable(this.description);
}
/**
* @return Gets the type of action details (see RecoveryPlanActionDetailsTypes enum for possible values).
* Expected value is 'ManualActionDetails'.
*
*/
public String instanceType() {
return this.instanceType;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(RecoveryPlanManualActionDetailsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String description;
private String instanceType;
public Builder() {}
public Builder(RecoveryPlanManualActionDetailsResponse defaults) {
Objects.requireNonNull(defaults);
this.description = defaults.description;
this.instanceType = defaults.instanceType;
}
@CustomType.Setter
public Builder description(@Nullable String description) {
this.description = description;
return this;
}
@CustomType.Setter
public Builder instanceType(String instanceType) {
if (instanceType == null) {
throw new MissingRequiredPropertyException("RecoveryPlanManualActionDetailsResponse", "instanceType");
}
this.instanceType = instanceType;
return this;
}
public RecoveryPlanManualActionDetailsResponse build() {
final var _resultValue = new RecoveryPlanManualActionDetailsResponse();
_resultValue.description = description;
_resultValue.instanceType = instanceType;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy