com.pulumi.aws.bedrock.outputs.GetCustomModelsModelSummary Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud 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.aws.bedrock.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetCustomModelsModelSummary {
/**
* @return Creation time of the model.
*
*/
private String creationTime;
/**
* @return The ARN of the custom model.
*
*/
private String modelArn;
/**
* @return The name of the custom model.
*
*/
private String modelName;
private GetCustomModelsModelSummary() {}
/**
* @return Creation time of the model.
*
*/
public String creationTime() {
return this.creationTime;
}
/**
* @return The ARN of the custom model.
*
*/
public String modelArn() {
return this.modelArn;
}
/**
* @return The name of the custom model.
*
*/
public String modelName() {
return this.modelName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetCustomModelsModelSummary defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String creationTime;
private String modelArn;
private String modelName;
public Builder() {}
public Builder(GetCustomModelsModelSummary defaults) {
Objects.requireNonNull(defaults);
this.creationTime = defaults.creationTime;
this.modelArn = defaults.modelArn;
this.modelName = defaults.modelName;
}
@CustomType.Setter
public Builder creationTime(String creationTime) {
if (creationTime == null) {
throw new MissingRequiredPropertyException("GetCustomModelsModelSummary", "creationTime");
}
this.creationTime = creationTime;
return this;
}
@CustomType.Setter
public Builder modelArn(String modelArn) {
if (modelArn == null) {
throw new MissingRequiredPropertyException("GetCustomModelsModelSummary", "modelArn");
}
this.modelArn = modelArn;
return this;
}
@CustomType.Setter
public Builder modelName(String modelName) {
if (modelName == null) {
throw new MissingRequiredPropertyException("GetCustomModelsModelSummary", "modelName");
}
this.modelName = modelName;
return this;
}
public GetCustomModelsModelSummary build() {
final var _resultValue = new GetCustomModelsModelSummary();
_resultValue.creationTime = creationTime;
_resultValue.modelArn = modelArn;
_resultValue.modelName = modelName;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy