commonMain.aws.sdk.kotlin.services.datasync.model.DescribeLocationFsxLustreResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of datasync-jvm Show documentation
Show all versions of datasync-jvm Show documentation
The AWS SDK for Kotlin client for DataSync
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.datasync.model
import aws.smithy.kotlin.runtime.SdkDsl
import aws.smithy.kotlin.runtime.time.Instant
public class DescribeLocationFsxLustreResponse private constructor(builder: Builder) {
/**
* The time that the FSx for Lustre location was created.
*/
public val creationTime: aws.smithy.kotlin.runtime.time.Instant? = builder.creationTime
/**
* The Amazon Resource Name (ARN) of the FSx for Lustre location that was described.
*/
public val locationArn: kotlin.String? = builder.locationArn
/**
* The URI of the FSx for Lustre location that was described.
*/
public val locationUri: kotlin.String? = builder.locationUri
/**
* The Amazon Resource Names (ARNs) of the security groups that are configured for the FSx for Lustre file system.
*/
public val securityGroupArns: List? = builder.securityGroupArns
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.datasync.model.DescribeLocationFsxLustreResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DescribeLocationFsxLustreResponse(")
append("creationTime=$creationTime,")
append("locationArn=$locationArn,")
append("locationUri=$locationUri,")
append("securityGroupArns=$securityGroupArns")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = creationTime?.hashCode() ?: 0
result = 31 * result + (locationArn?.hashCode() ?: 0)
result = 31 * result + (locationUri?.hashCode() ?: 0)
result = 31 * result + (securityGroupArns?.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 DescribeLocationFsxLustreResponse
if (creationTime != other.creationTime) return false
if (locationArn != other.locationArn) return false
if (locationUri != other.locationUri) return false
if (securityGroupArns != other.securityGroupArns) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.datasync.model.DescribeLocationFsxLustreResponse = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The time that the FSx for Lustre location was created.
*/
public var creationTime: aws.smithy.kotlin.runtime.time.Instant? = null
/**
* The Amazon Resource Name (ARN) of the FSx for Lustre location that was described.
*/
public var locationArn: kotlin.String? = null
/**
* The URI of the FSx for Lustre location that was described.
*/
public var locationUri: kotlin.String? = null
/**
* The Amazon Resource Names (ARNs) of the security groups that are configured for the FSx for Lustre file system.
*/
public var securityGroupArns: List? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.datasync.model.DescribeLocationFsxLustreResponse) : this() {
this.creationTime = x.creationTime
this.locationArn = x.locationArn
this.locationUri = x.locationUri
this.securityGroupArns = x.securityGroupArns
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.datasync.model.DescribeLocationFsxLustreResponse = DescribeLocationFsxLustreResponse(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy