#[non_exhaustive]pub struct BatchStartViewerSessionRevocationViewerSessionBuilder { /* private fields */ }Expand description
A builder for BatchStartViewerSessionRevocationViewerSession.
Implementations§
source§impl BatchStartViewerSessionRevocationViewerSessionBuilder
impl BatchStartViewerSessionRevocationViewerSessionBuilder
sourcepub fn channel_arn(self, input: impl Into<String>) -> Self
pub fn channel_arn(self, input: impl Into<String>) -> Self
The ARN of the channel associated with the viewer session to revoke.
This field is required.sourcepub fn set_channel_arn(self, input: Option<String>) -> Self
pub fn set_channel_arn(self, input: Option<String>) -> Self
The ARN of the channel associated with the viewer session to revoke.
sourcepub fn get_channel_arn(&self) -> &Option<String>
pub fn get_channel_arn(&self) -> &Option<String>
The ARN of the channel associated with the viewer session to revoke.
sourcepub fn viewer_id(self, input: impl Into<String>) -> Self
pub fn viewer_id(self, input: impl Into<String>) -> Self
The ID of the viewer associated with the viewer session to revoke. Do not use this field for personally identifying, confidential, or sensitive information.
This field is required.sourcepub fn set_viewer_id(self, input: Option<String>) -> Self
pub fn set_viewer_id(self, input: Option<String>) -> Self
The ID of the viewer associated with the viewer session to revoke. Do not use this field for personally identifying, confidential, or sensitive information.
sourcepub fn get_viewer_id(&self) -> &Option<String>
pub fn get_viewer_id(&self) -> &Option<String>
The ID of the viewer associated with the viewer session to revoke. Do not use this field for personally identifying, confidential, or sensitive information.
sourcepub fn viewer_session_versions_less_than_or_equal_to(self, input: i32) -> Self
pub fn viewer_session_versions_less_than_or_equal_to(self, input: i32) -> Self
An optional filter on which versions of the viewer session to revoke. All versions less than or equal to the specified version will be revoked. Default: 0.
sourcepub fn set_viewer_session_versions_less_than_or_equal_to(
self,
input: Option<i32>
) -> Self
pub fn set_viewer_session_versions_less_than_or_equal_to( self, input: Option<i32> ) -> Self
An optional filter on which versions of the viewer session to revoke. All versions less than or equal to the specified version will be revoked. Default: 0.
sourcepub fn get_viewer_session_versions_less_than_or_equal_to(&self) -> &Option<i32>
pub fn get_viewer_session_versions_less_than_or_equal_to(&self) -> &Option<i32>
An optional filter on which versions of the viewer session to revoke. All versions less than or equal to the specified version will be revoked. Default: 0.
sourcepub fn build(
self
) -> Result<BatchStartViewerSessionRevocationViewerSession, BuildError>
pub fn build( self ) -> Result<BatchStartViewerSessionRevocationViewerSession, BuildError>
Consumes the builder and constructs a BatchStartViewerSessionRevocationViewerSession.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for BatchStartViewerSessionRevocationViewerSessionBuilder
impl Clone for BatchStartViewerSessionRevocationViewerSessionBuilder
source§fn clone(&self) -> BatchStartViewerSessionRevocationViewerSessionBuilder
fn clone(&self) -> BatchStartViewerSessionRevocationViewerSessionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for BatchStartViewerSessionRevocationViewerSessionBuilder
impl Default for BatchStartViewerSessionRevocationViewerSessionBuilder
source§fn default() -> BatchStartViewerSessionRevocationViewerSessionBuilder
fn default() -> BatchStartViewerSessionRevocationViewerSessionBuilder
source§impl PartialEq for BatchStartViewerSessionRevocationViewerSessionBuilder
impl PartialEq for BatchStartViewerSessionRevocationViewerSessionBuilder
source§fn eq(
&self,
other: &BatchStartViewerSessionRevocationViewerSessionBuilder
) -> bool
fn eq( &self, other: &BatchStartViewerSessionRevocationViewerSessionBuilder ) -> bool
self and other values to be equal, and is used
by ==.