
commonMain.aws.sdk.kotlin.services.ses.model.DescribeReceiptRuleSetRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.ses.model
/**
* Represents a request to return the details of a receipt rule set. You use receipt rule sets to receive email with Amazon SES. For more information, see the [Amazon SES Developer Guide](https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html).
*/
public class DescribeReceiptRuleSetRequest private constructor(builder: Builder) {
/**
* The name of the receipt rule set to describe.
*/
public val ruleSetName: kotlin.String? = builder.ruleSetName
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.ses.model.DescribeReceiptRuleSetRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DescribeReceiptRuleSetRequest(")
append("ruleSetName=$ruleSetName)")
}
override fun hashCode(): kotlin.Int {
var result = ruleSetName?.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 DescribeReceiptRuleSetRequest
if (ruleSetName != other.ruleSetName) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.ses.model.DescribeReceiptRuleSetRequest = Builder(this).apply(block).build()
public class Builder {
/**
* The name of the receipt rule set to describe.
*/
public var ruleSetName: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.ses.model.DescribeReceiptRuleSetRequest) : this() {
this.ruleSetName = x.ruleSetName
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.ses.model.DescribeReceiptRuleSetRequest = DescribeReceiptRuleSetRequest(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy