aws.sdk.kotlin.services.sagemaker.model.DescribeProjectResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.sagemaker.model
import aws.smithy.kotlin.runtime.time.Instant
class DescribeProjectResponse private constructor(builder: Builder) {
/**
* Information about the user who created or modified an experiment, trial, trial
* component, lineage group, or project.
*/
val createdBy: aws.sdk.kotlin.services.sagemaker.model.UserContext? = builder.createdBy
/**
* The time when the project was created.
*/
val creationTime: aws.smithy.kotlin.runtime.time.Instant? = builder.creationTime
/**
* Information about the user who created or modified an experiment, trial, trial
* component, lineage group, or project.
*/
val lastModifiedBy: aws.sdk.kotlin.services.sagemaker.model.UserContext? = builder.lastModifiedBy
/**
* The timestamp when project was last modified.
*/
val lastModifiedTime: aws.smithy.kotlin.runtime.time.Instant? = builder.lastModifiedTime
/**
* The Amazon Resource Name (ARN) of the project.
*/
val projectArn: kotlin.String? = builder.projectArn
/**
* The description of the project.
*/
val projectDescription: kotlin.String? = builder.projectDescription
/**
* The ID of the project.
*/
val projectId: kotlin.String? = builder.projectId
/**
* The name of the project.
*/
val projectName: kotlin.String? = builder.projectName
/**
* The status of the project.
*/
val projectStatus: aws.sdk.kotlin.services.sagemaker.model.ProjectStatus? = builder.projectStatus
/**
* Information about a provisioned service catalog product.
*/
val serviceCatalogProvisionedProductDetails: aws.sdk.kotlin.services.sagemaker.model.ServiceCatalogProvisionedProductDetails? = builder.serviceCatalogProvisionedProductDetails
/**
* Information used to provision a service catalog product. For information, see What is Amazon Web Services Service
* Catalog.
*/
val serviceCatalogProvisioningDetails: aws.sdk.kotlin.services.sagemaker.model.ServiceCatalogProvisioningDetails? = builder.serviceCatalogProvisioningDetails
companion object {
operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.sagemaker.model.DescribeProjectResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DescribeProjectResponse(")
append("createdBy=$createdBy,")
append("creationTime=$creationTime,")
append("lastModifiedBy=$lastModifiedBy,")
append("lastModifiedTime=$lastModifiedTime,")
append("projectArn=$projectArn,")
append("projectDescription=$projectDescription,")
append("projectId=$projectId,")
append("projectName=$projectName,")
append("projectStatus=$projectStatus,")
append("serviceCatalogProvisionedProductDetails=$serviceCatalogProvisionedProductDetails,")
append("serviceCatalogProvisioningDetails=$serviceCatalogProvisioningDetails)")
}
override fun hashCode(): kotlin.Int {
var result = createdBy?.hashCode() ?: 0
result = 31 * result + (creationTime?.hashCode() ?: 0)
result = 31 * result + (lastModifiedBy?.hashCode() ?: 0)
result = 31 * result + (lastModifiedTime?.hashCode() ?: 0)
result = 31 * result + (projectArn?.hashCode() ?: 0)
result = 31 * result + (projectDescription?.hashCode() ?: 0)
result = 31 * result + (projectId?.hashCode() ?: 0)
result = 31 * result + (projectName?.hashCode() ?: 0)
result = 31 * result + (projectStatus?.hashCode() ?: 0)
result = 31 * result + (serviceCatalogProvisionedProductDetails?.hashCode() ?: 0)
result = 31 * result + (serviceCatalogProvisioningDetails?.hashCode() ?: 0)
return result
}
override fun equals(other: kotlin.Any?): kotlin.Boolean {
if (this === other) return true
if (other == null || this::class != other::class) return false
other as DescribeProjectResponse
if (createdBy != other.createdBy) return false
if (creationTime != other.creationTime) return false
if (lastModifiedBy != other.lastModifiedBy) return false
if (lastModifiedTime != other.lastModifiedTime) return false
if (projectArn != other.projectArn) return false
if (projectDescription != other.projectDescription) return false
if (projectId != other.projectId) return false
if (projectName != other.projectName) return false
if (projectStatus != other.projectStatus) return false
if (serviceCatalogProvisionedProductDetails != other.serviceCatalogProvisionedProductDetails) return false
if (serviceCatalogProvisioningDetails != other.serviceCatalogProvisioningDetails) return false
return true
}
inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.sagemaker.model.DescribeProjectResponse = Builder(this).apply(block).build()
class Builder {
/**
* Information about the user who created or modified an experiment, trial, trial
* component, lineage group, or project.
*/
var createdBy: aws.sdk.kotlin.services.sagemaker.model.UserContext? = null
/**
* The time when the project was created.
*/
var creationTime: aws.smithy.kotlin.runtime.time.Instant? = null
/**
* Information about the user who created or modified an experiment, trial, trial
* component, lineage group, or project.
*/
var lastModifiedBy: aws.sdk.kotlin.services.sagemaker.model.UserContext? = null
/**
* The timestamp when project was last modified.
*/
var lastModifiedTime: aws.smithy.kotlin.runtime.time.Instant? = null
/**
* The Amazon Resource Name (ARN) of the project.
*/
var projectArn: kotlin.String? = null
/**
* The description of the project.
*/
var projectDescription: kotlin.String? = null
/**
* The ID of the project.
*/
var projectId: kotlin.String? = null
/**
* The name of the project.
*/
var projectName: kotlin.String? = null
/**
* The status of the project.
*/
var projectStatus: aws.sdk.kotlin.services.sagemaker.model.ProjectStatus? = null
/**
* Information about a provisioned service catalog product.
*/
var serviceCatalogProvisionedProductDetails: aws.sdk.kotlin.services.sagemaker.model.ServiceCatalogProvisionedProductDetails? = null
/**
* Information used to provision a service catalog product. For information, see What is Amazon Web Services Service
* Catalog.
*/
var serviceCatalogProvisioningDetails: aws.sdk.kotlin.services.sagemaker.model.ServiceCatalogProvisioningDetails? = null
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.sagemaker.model.DescribeProjectResponse) : this() {
this.createdBy = x.createdBy
this.creationTime = x.creationTime
this.lastModifiedBy = x.lastModifiedBy
this.lastModifiedTime = x.lastModifiedTime
this.projectArn = x.projectArn
this.projectDescription = x.projectDescription
this.projectId = x.projectId
this.projectName = x.projectName
this.projectStatus = x.projectStatus
this.serviceCatalogProvisionedProductDetails = x.serviceCatalogProvisionedProductDetails
this.serviceCatalogProvisioningDetails = x.serviceCatalogProvisioningDetails
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.sagemaker.model.DescribeProjectResponse = DescribeProjectResponse(this)
/**
* construct an [aws.sdk.kotlin.services.sagemaker.model.UserContext] inside the given [block]
*/
fun createdBy(block: aws.sdk.kotlin.services.sagemaker.model.UserContext.Builder.() -> kotlin.Unit) {
this.createdBy = aws.sdk.kotlin.services.sagemaker.model.UserContext.invoke(block)
}
/**
* construct an [aws.sdk.kotlin.services.sagemaker.model.UserContext] inside the given [block]
*/
fun lastModifiedBy(block: aws.sdk.kotlin.services.sagemaker.model.UserContext.Builder.() -> kotlin.Unit) {
this.lastModifiedBy = aws.sdk.kotlin.services.sagemaker.model.UserContext.invoke(block)
}
/**
* construct an [aws.sdk.kotlin.services.sagemaker.model.ServiceCatalogProvisionedProductDetails] inside the given [block]
*/
fun serviceCatalogProvisionedProductDetails(block: aws.sdk.kotlin.services.sagemaker.model.ServiceCatalogProvisionedProductDetails.Builder.() -> kotlin.Unit) {
this.serviceCatalogProvisionedProductDetails = aws.sdk.kotlin.services.sagemaker.model.ServiceCatalogProvisionedProductDetails.invoke(block)
}
/**
* construct an [aws.sdk.kotlin.services.sagemaker.model.ServiceCatalogProvisioningDetails] inside the given [block]
*/
fun serviceCatalogProvisioningDetails(block: aws.sdk.kotlin.services.sagemaker.model.ServiceCatalogProvisioningDetails.Builder.() -> kotlin.Unit) {
this.serviceCatalogProvisioningDetails = aws.sdk.kotlin.services.sagemaker.model.ServiceCatalogProvisioningDetails.invoke(block)
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy