
commonMain.aws.sdk.kotlin.services.iam.model.UpdateOpenIdConnectProviderThumbprintRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.iam.model
public class UpdateOpenIdConnectProviderThumbprintRequest private constructor(builder: Builder) {
/**
* The Amazon Resource Name (ARN) of the IAM OIDC provider resource object for which you want to update the thumbprint. You can get a list of OIDC provider ARNs by using the ListOpenIDConnectProviders operation.
*
* For more information about ARNs, see [Amazon Resource Names (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) in the *Amazon Web Services General Reference*.
*/
public val openIdConnectProviderArn: kotlin.String? = builder.openIdConnectProviderArn
/**
* A list of certificate thumbprints that are associated with the specified IAM OpenID Connect provider. For more information, see CreateOpenIDConnectProvider.
*/
public val thumbprintList: List? = builder.thumbprintList
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.iam.model.UpdateOpenIdConnectProviderThumbprintRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("UpdateOpenIdConnectProviderThumbprintRequest(")
append("openIdConnectProviderArn=$openIdConnectProviderArn,")
append("thumbprintList=$thumbprintList")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = openIdConnectProviderArn?.hashCode() ?: 0
result = 31 * result + (thumbprintList?.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 UpdateOpenIdConnectProviderThumbprintRequest
if (openIdConnectProviderArn != other.openIdConnectProviderArn) return false
if (thumbprintList != other.thumbprintList) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.iam.model.UpdateOpenIdConnectProviderThumbprintRequest = Builder(this).apply(block).build()
public class Builder {
/**
* The Amazon Resource Name (ARN) of the IAM OIDC provider resource object for which you want to update the thumbprint. You can get a list of OIDC provider ARNs by using the ListOpenIDConnectProviders operation.
*
* For more information about ARNs, see [Amazon Resource Names (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) in the *Amazon Web Services General Reference*.
*/
public var openIdConnectProviderArn: kotlin.String? = null
/**
* A list of certificate thumbprints that are associated with the specified IAM OpenID Connect provider. For more information, see CreateOpenIDConnectProvider.
*/
public var thumbprintList: List? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.iam.model.UpdateOpenIdConnectProviderThumbprintRequest) : this() {
this.openIdConnectProviderArn = x.openIdConnectProviderArn
this.thumbprintList = x.thumbprintList
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.iam.model.UpdateOpenIdConnectProviderThumbprintRequest = UpdateOpenIdConnectProviderThumbprintRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy