All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.bedrockfoundation.outputs.GetModelsModelSummary Maven / Gradle / Ivy

// *** 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.bedrockfoundation.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetModelsModelSummary {
    /**
     * @return Customizations that the model supports.
     * 
     */
    private List customizationsSupporteds;
    /**
     * @return Inference types that the model supports.
     * 
     */
    private List inferenceTypesSupporteds;
    /**
     * @return Input modalities that the model supports.
     * 
     */
    private List inputModalities;
    /**
     * @return Model ARN.
     * 
     */
    private String modelArn;
    /**
     * @return Model identifier.
     * 
     */
    private String modelId;
    /**
     * @return Model name.
     * 
     */
    private String modelName;
    /**
     * @return Output modalities that the model supports.
     * 
     */
    private List outputModalities;
    /**
     * @return Model provider name.
     * 
     */
    private String providerName;
    /**
     * @return Indicates whether the model supports streaming.
     * 
     */
    private Boolean responseStreamingSupported;

    private GetModelsModelSummary() {}
    /**
     * @return Customizations that the model supports.
     * 
     */
    public List customizationsSupporteds() {
        return this.customizationsSupporteds;
    }
    /**
     * @return Inference types that the model supports.
     * 
     */
    public List inferenceTypesSupporteds() {
        return this.inferenceTypesSupporteds;
    }
    /**
     * @return Input modalities that the model supports.
     * 
     */
    public List inputModalities() {
        return this.inputModalities;
    }
    /**
     * @return Model ARN.
     * 
     */
    public String modelArn() {
        return this.modelArn;
    }
    /**
     * @return Model identifier.
     * 
     */
    public String modelId() {
        return this.modelId;
    }
    /**
     * @return Model name.
     * 
     */
    public String modelName() {
        return this.modelName;
    }
    /**
     * @return Output modalities that the model supports.
     * 
     */
    public List outputModalities() {
        return this.outputModalities;
    }
    /**
     * @return Model provider name.
     * 
     */
    public String providerName() {
        return this.providerName;
    }
    /**
     * @return Indicates whether the model supports streaming.
     * 
     */
    public Boolean responseStreamingSupported() {
        return this.responseStreamingSupported;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(GetModelsModelSummary defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List customizationsSupporteds;
        private List inferenceTypesSupporteds;
        private List inputModalities;
        private String modelArn;
        private String modelId;
        private String modelName;
        private List outputModalities;
        private String providerName;
        private Boolean responseStreamingSupported;
        public Builder() {}
        public Builder(GetModelsModelSummary defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.customizationsSupporteds = defaults.customizationsSupporteds;
    	      this.inferenceTypesSupporteds = defaults.inferenceTypesSupporteds;
    	      this.inputModalities = defaults.inputModalities;
    	      this.modelArn = defaults.modelArn;
    	      this.modelId = defaults.modelId;
    	      this.modelName = defaults.modelName;
    	      this.outputModalities = defaults.outputModalities;
    	      this.providerName = defaults.providerName;
    	      this.responseStreamingSupported = defaults.responseStreamingSupported;
        }

        @CustomType.Setter
        public Builder customizationsSupporteds(List customizationsSupporteds) {
            if (customizationsSupporteds == null) {
              throw new MissingRequiredPropertyException("GetModelsModelSummary", "customizationsSupporteds");
            }
            this.customizationsSupporteds = customizationsSupporteds;
            return this;
        }
        public Builder customizationsSupporteds(String... customizationsSupporteds) {
            return customizationsSupporteds(List.of(customizationsSupporteds));
        }
        @CustomType.Setter
        public Builder inferenceTypesSupporteds(List inferenceTypesSupporteds) {
            if (inferenceTypesSupporteds == null) {
              throw new MissingRequiredPropertyException("GetModelsModelSummary", "inferenceTypesSupporteds");
            }
            this.inferenceTypesSupporteds = inferenceTypesSupporteds;
            return this;
        }
        public Builder inferenceTypesSupporteds(String... inferenceTypesSupporteds) {
            return inferenceTypesSupporteds(List.of(inferenceTypesSupporteds));
        }
        @CustomType.Setter
        public Builder inputModalities(List inputModalities) {
            if (inputModalities == null) {
              throw new MissingRequiredPropertyException("GetModelsModelSummary", "inputModalities");
            }
            this.inputModalities = inputModalities;
            return this;
        }
        public Builder inputModalities(String... inputModalities) {
            return inputModalities(List.of(inputModalities));
        }
        @CustomType.Setter
        public Builder modelArn(String modelArn) {
            if (modelArn == null) {
              throw new MissingRequiredPropertyException("GetModelsModelSummary", "modelArn");
            }
            this.modelArn = modelArn;
            return this;
        }
        @CustomType.Setter
        public Builder modelId(String modelId) {
            if (modelId == null) {
              throw new MissingRequiredPropertyException("GetModelsModelSummary", "modelId");
            }
            this.modelId = modelId;
            return this;
        }
        @CustomType.Setter
        public Builder modelName(String modelName) {
            if (modelName == null) {
              throw new MissingRequiredPropertyException("GetModelsModelSummary", "modelName");
            }
            this.modelName = modelName;
            return this;
        }
        @CustomType.Setter
        public Builder outputModalities(List outputModalities) {
            if (outputModalities == null) {
              throw new MissingRequiredPropertyException("GetModelsModelSummary", "outputModalities");
            }
            this.outputModalities = outputModalities;
            return this;
        }
        public Builder outputModalities(String... outputModalities) {
            return outputModalities(List.of(outputModalities));
        }
        @CustomType.Setter
        public Builder providerName(String providerName) {
            if (providerName == null) {
              throw new MissingRequiredPropertyException("GetModelsModelSummary", "providerName");
            }
            this.providerName = providerName;
            return this;
        }
        @CustomType.Setter
        public Builder responseStreamingSupported(Boolean responseStreamingSupported) {
            if (responseStreamingSupported == null) {
              throw new MissingRequiredPropertyException("GetModelsModelSummary", "responseStreamingSupported");
            }
            this.responseStreamingSupported = responseStreamingSupported;
            return this;
        }
        public GetModelsModelSummary build() {
            final var _resultValue = new GetModelsModelSummary();
            _resultValue.customizationsSupporteds = customizationsSupporteds;
            _resultValue.inferenceTypesSupporteds = inferenceTypesSupporteds;
            _resultValue.inputModalities = inputModalities;
            _resultValue.modelArn = modelArn;
            _resultValue.modelId = modelId;
            _resultValue.modelName = modelName;
            _resultValue.outputModalities = outputModalities;
            _resultValue.providerName = providerName;
            _resultValue.responseStreamingSupported = responseStreamingSupported;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy