
aws.sdk.kotlin.services.pinpoint.model.GetImportJobsRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.pinpoint.model
class GetImportJobsRequest private constructor(builder: Builder) {
/**
* The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
*/
val applicationId: kotlin.String? = builder.applicationId
/**
* The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.
*/
val pageSize: kotlin.String? = builder.pageSize
/**
* The NextToken string that specifies which page of results to return in a paginated response.
*/
val token: kotlin.String? = builder.token
companion object {
operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.pinpoint.model.GetImportJobsRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetImportJobsRequest(")
append("applicationId=$applicationId,")
append("pageSize=$pageSize,")
append("token=$token)")
}
override fun hashCode(): kotlin.Int {
var result = applicationId?.hashCode() ?: 0
result = 31 * result + (pageSize?.hashCode() ?: 0)
result = 31 * result + (token?.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 GetImportJobsRequest
if (applicationId != other.applicationId) return false
if (pageSize != other.pageSize) return false
if (token != other.token) return false
return true
}
inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.pinpoint.model.GetImportJobsRequest = Builder(this).apply(block).build()
class Builder {
/**
* The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
*/
var applicationId: kotlin.String? = null
/**
* The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.
*/
var pageSize: kotlin.String? = null
/**
* The NextToken string that specifies which page of results to return in a paginated response.
*/
var token: kotlin.String? = null
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.pinpoint.model.GetImportJobsRequest) : this() {
this.applicationId = x.applicationId
this.pageSize = x.pageSize
this.token = x.token
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.pinpoint.model.GetImportJobsRequest = GetImportJobsRequest(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy