commonMain.aws.sdk.kotlin.services.devopsguru.model.DescribeResourceCollectionHealthRequest.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of devopsguru-jvm Show documentation
Show all versions of devopsguru-jvm Show documentation
The AWS SDK for Kotlin client for DevOps Guru
The newest version!
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.devopsguru.model
import aws.smithy.kotlin.runtime.SdkDsl
public class DescribeResourceCollectionHealthRequest private constructor(builder: Builder) {
/**
* The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
*/
public val nextToken: kotlin.String? = builder.nextToken
/**
* An Amazon Web Services resource collection type. This type specifies how analyzed Amazon Web Services resources are defined. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag *key*. You can specify up to 500 Amazon Web Services CloudFormation stacks.
*/
public val resourceCollectionType: aws.sdk.kotlin.services.devopsguru.model.ResourceCollectionType? = builder.resourceCollectionType
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.devopsguru.model.DescribeResourceCollectionHealthRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DescribeResourceCollectionHealthRequest(")
append("nextToken=$nextToken,")
append("resourceCollectionType=$resourceCollectionType")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = nextToken?.hashCode() ?: 0
result = 31 * result + (resourceCollectionType?.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 DescribeResourceCollectionHealthRequest
if (nextToken != other.nextToken) return false
if (resourceCollectionType != other.resourceCollectionType) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.devopsguru.model.DescribeResourceCollectionHealthRequest = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
*/
public var nextToken: kotlin.String? = null
/**
* An Amazon Web Services resource collection type. This type specifies how analyzed Amazon Web Services resources are defined. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag *key*. You can specify up to 500 Amazon Web Services CloudFormation stacks.
*/
public var resourceCollectionType: aws.sdk.kotlin.services.devopsguru.model.ResourceCollectionType? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.devopsguru.model.DescribeResourceCollectionHealthRequest) : this() {
this.nextToken = x.nextToken
this.resourceCollectionType = x.resourceCollectionType
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.devopsguru.model.DescribeResourceCollectionHealthRequest = DescribeResourceCollectionHealthRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy