
aws.sdk.kotlin.services.configservice.model.DescribeOrganizationConformancePacksRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.configservice.model
class DescribeOrganizationConformancePacksRequest private constructor(builder: Builder) {
/**
* The maximum number of organization config packs returned on each page. If you do no specify a
* number, Config uses the default. The default is 100.
*/
val limit: kotlin.Int = builder.limit
/**
* The nextToken string returned on a previous page that you use to get the next page of results in a
* paginated response.
*/
val nextToken: kotlin.String? = builder.nextToken
/**
* The name that you assign to an organization conformance pack.
*/
val organizationConformancePackNames: List? = builder.organizationConformancePackNames
companion object {
operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.configservice.model.DescribeOrganizationConformancePacksRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DescribeOrganizationConformancePacksRequest(")
append("limit=$limit,")
append("nextToken=$nextToken,")
append("organizationConformancePackNames=$organizationConformancePackNames)")
}
override fun hashCode(): kotlin.Int {
var result = limit
result = 31 * result + (nextToken?.hashCode() ?: 0)
result = 31 * result + (organizationConformancePackNames?.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 DescribeOrganizationConformancePacksRequest
if (limit != other.limit) return false
if (nextToken != other.nextToken) return false
if (organizationConformancePackNames != other.organizationConformancePackNames) return false
return true
}
inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.configservice.model.DescribeOrganizationConformancePacksRequest = Builder(this).apply(block).build()
class Builder {
/**
* The maximum number of organization config packs returned on each page. If you do no specify a
* number, Config uses the default. The default is 100.
*/
var limit: kotlin.Int = 0
/**
* The nextToken string returned on a previous page that you use to get the next page of results in a
* paginated response.
*/
var nextToken: kotlin.String? = null
/**
* The name that you assign to an organization conformance pack.
*/
var organizationConformancePackNames: List? = null
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.configservice.model.DescribeOrganizationConformancePacksRequest) : this() {
this.limit = x.limit
this.nextToken = x.nextToken
this.organizationConformancePackNames = x.organizationConformancePackNames
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.configservice.model.DescribeOrganizationConformancePacksRequest = DescribeOrganizationConformancePacksRequest(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy