com.pulumi.azurenative.connectedvmwarevsphere.outputs.PlacementProfileResponse 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.connectedvmwarevsphere.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 PlacementProfileResponse {
/**
* @return Gets or sets the ARM Id of the cluster resource on which this virtual machine will deploy.
*
*/
private @Nullable String clusterId;
/**
* @return Gets or sets the ARM Id of the datastore resource on which the data for the virtual machine will be kept.
*
*/
private @Nullable String datastoreId;
/**
* @return Gets or sets the ARM Id of the host resource on which this virtual machine will deploy.
*
*/
private @Nullable String hostId;
/**
* @return Gets or sets the ARM Id of the resourcePool resource on which this virtual machine will deploy.
*
*/
private @Nullable String resourcePoolId;
private PlacementProfileResponse() {}
/**
* @return Gets or sets the ARM Id of the cluster resource on which this virtual machine will deploy.
*
*/
public Optional clusterId() {
return Optional.ofNullable(this.clusterId);
}
/**
* @return Gets or sets the ARM Id of the datastore resource on which the data for the virtual machine will be kept.
*
*/
public Optional datastoreId() {
return Optional.ofNullable(this.datastoreId);
}
/**
* @return Gets or sets the ARM Id of the host resource on which this virtual machine will deploy.
*
*/
public Optional hostId() {
return Optional.ofNullable(this.hostId);
}
/**
* @return Gets or sets the ARM Id of the resourcePool resource on which this virtual machine will deploy.
*
*/
public Optional resourcePoolId() {
return Optional.ofNullable(this.resourcePoolId);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(PlacementProfileResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String clusterId;
private @Nullable String datastoreId;
private @Nullable String hostId;
private @Nullable String resourcePoolId;
public Builder() {}
public Builder(PlacementProfileResponse defaults) {
Objects.requireNonNull(defaults);
this.clusterId = defaults.clusterId;
this.datastoreId = defaults.datastoreId;
this.hostId = defaults.hostId;
this.resourcePoolId = defaults.resourcePoolId;
}
@CustomType.Setter
public Builder clusterId(@Nullable String clusterId) {
this.clusterId = clusterId;
return this;
}
@CustomType.Setter
public Builder datastoreId(@Nullable String datastoreId) {
this.datastoreId = datastoreId;
return this;
}
@CustomType.Setter
public Builder hostId(@Nullable String hostId) {
this.hostId = hostId;
return this;
}
@CustomType.Setter
public Builder resourcePoolId(@Nullable String resourcePoolId) {
this.resourcePoolId = resourcePoolId;
return this;
}
public PlacementProfileResponse build() {
final var _resultValue = new PlacementProfileResponse();
_resultValue.clusterId = clusterId;
_resultValue.datastoreId = datastoreId;
_resultValue.hostId = hostId;
_resultValue.resourcePoolId = resourcePoolId;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy