com.pulumi.azurenative.scvmm.outputs.CheckpointResponse 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.scvmm.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class CheckpointResponse {
/**
* @return Gets ID of the checkpoint.
*
*/
private @Nullable String checkpointID;
/**
* @return Gets description of the checkpoint.
*
*/
private @Nullable String description;
/**
* @return Gets name of the checkpoint.
*
*/
private @Nullable String name;
/**
* @return Gets ID of parent of the checkpoint.
*
*/
private @Nullable String parentCheckpointID;
private CheckpointResponse() {}
/**
* @return Gets ID of the checkpoint.
*
*/
public Optional checkpointID() {
return Optional.ofNullable(this.checkpointID);
}
/**
* @return Gets description of the checkpoint.
*
*/
public Optional description() {
return Optional.ofNullable(this.description);
}
/**
* @return Gets name of the checkpoint.
*
*/
public Optional name() {
return Optional.ofNullable(this.name);
}
/**
* @return Gets ID of parent of the checkpoint.
*
*/
public Optional parentCheckpointID() {
return Optional.ofNullable(this.parentCheckpointID);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(CheckpointResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String checkpointID;
private @Nullable String description;
private @Nullable String name;
private @Nullable String parentCheckpointID;
public Builder() {}
public Builder(CheckpointResponse defaults) {
Objects.requireNonNull(defaults);
this.checkpointID = defaults.checkpointID;
this.description = defaults.description;
this.name = defaults.name;
this.parentCheckpointID = defaults.parentCheckpointID;
}
@CustomType.Setter
public Builder checkpointID(@Nullable String checkpointID) {
this.checkpointID = checkpointID;
return this;
}
@CustomType.Setter
public Builder description(@Nullable String description) {
this.description = description;
return this;
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
@CustomType.Setter
public Builder parentCheckpointID(@Nullable String parentCheckpointID) {
this.parentCheckpointID = parentCheckpointID;
return this;
}
public CheckpointResponse build() {
final var _resultValue = new CheckpointResponse();
_resultValue.checkpointID = checkpointID;
_resultValue.description = description;
_resultValue.name = name;
_resultValue.parentCheckpointID = parentCheckpointID;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy