commonMain.aws.sdk.kotlin.services.configservice.model.DescribeConfigurationAggregatorSourcesStatusRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.configservice.model
public class DescribeConfigurationAggregatorSourcesStatusRequest private constructor(builder: Builder) {
/**
* The name of the configuration aggregator.
*/
public val configurationAggregatorName: kotlin.String? = builder.configurationAggregatorName
/**
* The maximum number of AggregatorSourceStatus returned on each page. The default is maximum. If you specify 0, Config uses the default.
*/
public 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.
*/
public val nextToken: kotlin.String? = builder.nextToken
/**
* Filters the status type.
* + Valid value FAILED indicates errors while moving data.
* + Valid value SUCCEEDED indicates the data was successfully moved.
* + Valid value OUTDATED indicates the data is not the most recent.
*/
public val updateStatus: List? = builder.updateStatus
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.configservice.model.DescribeConfigurationAggregatorSourcesStatusRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DescribeConfigurationAggregatorSourcesStatusRequest(")
append("configurationAggregatorName=$configurationAggregatorName,")
append("limit=$limit,")
append("nextToken=$nextToken,")
append("updateStatus=$updateStatus")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = configurationAggregatorName?.hashCode() ?: 0
result = 31 * result + (limit ?: 0)
result = 31 * result + (nextToken?.hashCode() ?: 0)
result = 31 * result + (updateStatus?.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 DescribeConfigurationAggregatorSourcesStatusRequest
if (configurationAggregatorName != other.configurationAggregatorName) return false
if (limit != other.limit) return false
if (nextToken != other.nextToken) return false
if (updateStatus != other.updateStatus) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.configservice.model.DescribeConfigurationAggregatorSourcesStatusRequest = Builder(this).apply(block).build()
public class Builder {
/**
* The name of the configuration aggregator.
*/
public var configurationAggregatorName: kotlin.String? = null
/**
* The maximum number of AggregatorSourceStatus returned on each page. The default is maximum. If you specify 0, Config uses the default.
*/
public var limit: kotlin.Int? = null
/**
* The `nextToken` string returned on a previous page that you use to get the next page of results in a paginated response.
*/
public var nextToken: kotlin.String? = null
/**
* Filters the status type.
* + Valid value FAILED indicates errors while moving data.
* + Valid value SUCCEEDED indicates the data was successfully moved.
* + Valid value OUTDATED indicates the data is not the most recent.
*/
public var updateStatus: List? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.configservice.model.DescribeConfigurationAggregatorSourcesStatusRequest) : this() {
this.configurationAggregatorName = x.configurationAggregatorName
this.limit = x.limit
this.nextToken = x.nextToken
this.updateStatus = x.updateStatus
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.configservice.model.DescribeConfigurationAggregatorSourcesStatusRequest = DescribeConfigurationAggregatorSourcesStatusRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy