pub struct Builder { /* private fields */ }
Expand description
A builder for GetSecurityPolicyInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn type(self, input: SecurityPolicyType) -> Self
pub fn type(self, input: SecurityPolicyType) -> Self
The type of security policy.
sourcepub fn set_type(self, input: Option<SecurityPolicyType>) -> Self
pub fn set_type(self, input: Option<SecurityPolicyType>) -> Self
The type of security policy.
sourcepub fn build(self) -> Result<GetSecurityPolicyInput, BuildError>
pub fn build(self) -> Result<GetSecurityPolicyInput, BuildError>
Consumes the builder and constructs a GetSecurityPolicyInput
.