
com.pulumi.azurenative.awsconnector.outputs.ResourceSpecResponse 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.awsconnector.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 ResourceSpecResponse {
/**
* @return The instance type that the image version runs on.
*
*/
private @Nullable String instanceType;
/**
* @return The ARN of the SageMaker image that the image version belongs to.
*
*/
private @Nullable String sageMakerImageArn;
/**
* @return The ARN of the image version created on the instance.
*
*/
private @Nullable String sageMakerImageVersionArn;
private ResourceSpecResponse() {}
/**
* @return The instance type that the image version runs on.
*
*/
public Optional instanceType() {
return Optional.ofNullable(this.instanceType);
}
/**
* @return The ARN of the SageMaker image that the image version belongs to.
*
*/
public Optional sageMakerImageArn() {
return Optional.ofNullable(this.sageMakerImageArn);
}
/**
* @return The ARN of the image version created on the instance.
*
*/
public Optional sageMakerImageVersionArn() {
return Optional.ofNullable(this.sageMakerImageVersionArn);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ResourceSpecResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String instanceType;
private @Nullable String sageMakerImageArn;
private @Nullable String sageMakerImageVersionArn;
public Builder() {}
public Builder(ResourceSpecResponse defaults) {
Objects.requireNonNull(defaults);
this.instanceType = defaults.instanceType;
this.sageMakerImageArn = defaults.sageMakerImageArn;
this.sageMakerImageVersionArn = defaults.sageMakerImageVersionArn;
}
@CustomType.Setter
public Builder instanceType(@Nullable String instanceType) {
this.instanceType = instanceType;
return this;
}
@CustomType.Setter
public Builder sageMakerImageArn(@Nullable String sageMakerImageArn) {
this.sageMakerImageArn = sageMakerImageArn;
return this;
}
@CustomType.Setter
public Builder sageMakerImageVersionArn(@Nullable String sageMakerImageVersionArn) {
this.sageMakerImageVersionArn = sageMakerImageVersionArn;
return this;
}
public ResourceSpecResponse build() {
final var _resultValue = new ResourceSpecResponse();
_resultValue.instanceType = instanceType;
_resultValue.sageMakerImageArn = sageMakerImageArn;
_resultValue.sageMakerImageVersionArn = sageMakerImageVersionArn;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy