Struct aws_sdk_iam::model::context_entry::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for ContextEntry.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn context_key_name(self, input: impl Into<String>) -> Self
pub fn context_key_name(self, input: impl Into<String>) -> Self
The full name of a condition context key, including the service prefix. For example, aws:SourceIp or s3:VersionId.
sourcepub fn set_context_key_name(self, input: Option<String>) -> Self
pub fn set_context_key_name(self, input: Option<String>) -> Self
The full name of a condition context key, including the service prefix. For example, aws:SourceIp or s3:VersionId.
sourcepub fn context_key_values(self, input: impl Into<String>) -> Self
pub fn context_key_values(self, input: impl Into<String>) -> Self
Appends an item to context_key_values.
To override the contents of this collection use set_context_key_values.
The value (or values, if the condition context key supports multiple values) to provide to the simulation when the key is referenced by a Condition element in an input policy.
sourcepub fn set_context_key_values(self, input: Option<Vec<String>>) -> Self
pub fn set_context_key_values(self, input: Option<Vec<String>>) -> Self
The value (or values, if the condition context key supports multiple values) to provide to the simulation when the key is referenced by a Condition element in an input policy.
sourcepub fn context_key_type(self, input: ContextKeyTypeEnum) -> Self
pub fn context_key_type(self, input: ContextKeyTypeEnum) -> Self
The data type of the value (or values) specified in the ContextKeyValues parameter.
sourcepub fn set_context_key_type(self, input: Option<ContextKeyTypeEnum>) -> Self
pub fn set_context_key_type(self, input: Option<ContextKeyTypeEnum>) -> Self
The data type of the value (or values) specified in the ContextKeyValues parameter.
sourcepub fn build(self) -> ContextEntry
pub fn build(self) -> ContextEntry
Consumes the builder and constructs a ContextEntry.