Struct aws_sdk_dynamodbstreams::model::identity::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Identity
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn principal_id(self, input: impl Into<String>) -> Self
pub fn principal_id(self, input: impl Into<String>) -> Self
A unique identifier for the entity that made the call. For Time To Live, the principalId is "dynamodb.amazonaws.com".
sourcepub fn set_principal_id(self, input: Option<String>) -> Self
pub fn set_principal_id(self, input: Option<String>) -> Self
A unique identifier for the entity that made the call. For Time To Live, the principalId is "dynamodb.amazonaws.com".
sourcepub fn type(self, input: impl Into<String>) -> Self
pub fn type(self, input: impl Into<String>) -> Self
The type of the identity. For Time To Live, the type is "Service".