pub struct Builder { /* private fields */ }
Expand description
A builder for ModifyVerifiedAccessEndpointPolicyInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn verified_access_endpoint_id(self, input: impl Into<String>) -> Self
pub fn verified_access_endpoint_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Web Services Verified Access endpoint.
sourcepub fn set_verified_access_endpoint_id(self, input: Option<String>) -> Self
pub fn set_verified_access_endpoint_id(self, input: Option<String>) -> Self
The ID of the Amazon Web Services Verified Access endpoint.
sourcepub fn policy_enabled(self, input: bool) -> Self
pub fn policy_enabled(self, input: bool) -> Self
The status of the Verified Access policy.
sourcepub fn set_policy_enabled(self, input: Option<bool>) -> Self
pub fn set_policy_enabled(self, input: Option<bool>) -> Self
The status of the Verified Access policy.
sourcepub fn policy_document(self, input: impl Into<String>) -> Self
pub fn policy_document(self, input: impl Into<String>) -> Self
The Amazon Web Services Verified Access policy document.
sourcepub fn set_policy_document(self, input: Option<String>) -> Self
pub fn set_policy_document(self, input: Option<String>) -> Self
The Amazon Web Services Verified Access policy document.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A unique, case-sensitive token that you provide to ensure idempotency of your modification request. For more information, see Ensuring Idempotency.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A unique, case-sensitive token that you provide to ensure idempotency of your modification request. For more information, see Ensuring Idempotency.
sourcepub fn dry_run(self, input: bool) -> Self
pub fn dry_run(self, input: bool) -> Self
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn set_dry_run(self, input: Option<bool>) -> Self
pub fn set_dry_run(self, input: Option<bool>) -> Self
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn build(
self
) -> Result<ModifyVerifiedAccessEndpointPolicyInput, BuildError>
pub fn build(
self
) -> Result<ModifyVerifiedAccessEndpointPolicyInput, BuildError>
Consumes the builder and constructs a ModifyVerifiedAccessEndpointPolicyInput
.