Struct aws_sdk_mediapackagev2::operation::get_origin_endpoint_policy::builders::GetOriginEndpointPolicyOutputBuilder
source · #[non_exhaustive]pub struct GetOriginEndpointPolicyOutputBuilder { /* private fields */ }
Expand description
A builder for GetOriginEndpointPolicyOutput
.
Implementations§
source§impl GetOriginEndpointPolicyOutputBuilder
impl GetOriginEndpointPolicyOutputBuilder
sourcepub fn channel_group_name(self, input: impl Into<String>) -> Self
pub fn channel_group_name(self, input: impl Into<String>) -> Self
The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.
This field is required.sourcepub fn set_channel_group_name(self, input: Option<String>) -> Self
pub fn set_channel_group_name(self, input: Option<String>) -> Self
The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.
sourcepub fn get_channel_group_name(&self) -> &Option<String>
pub fn get_channel_group_name(&self) -> &Option<String>
The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.
sourcepub fn channel_name(self, input: impl Into<String>) -> Self
pub fn channel_name(self, input: impl Into<String>) -> Self
The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.
This field is required.sourcepub fn set_channel_name(self, input: Option<String>) -> Self
pub fn set_channel_name(self, input: Option<String>) -> Self
The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.
sourcepub fn get_channel_name(&self) -> &Option<String>
pub fn get_channel_name(&self) -> &Option<String>
The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.
sourcepub fn origin_endpoint_name(self, input: impl Into<String>) -> Self
pub fn origin_endpoint_name(self, input: impl Into<String>) -> Self
The name that describes the origin endpoint. The name is the primary identifier for the origin endpoint, and and must be unique for your account in the AWS Region and channel.
This field is required.sourcepub fn set_origin_endpoint_name(self, input: Option<String>) -> Self
pub fn set_origin_endpoint_name(self, input: Option<String>) -> Self
The name that describes the origin endpoint. The name is the primary identifier for the origin endpoint, and and must be unique for your account in the AWS Region and channel.
sourcepub fn get_origin_endpoint_name(&self) -> &Option<String>
pub fn get_origin_endpoint_name(&self) -> &Option<String>
The name that describes the origin endpoint. The name is the primary identifier for the origin endpoint, and and must be unique for your account in the AWS Region and channel.
sourcepub fn policy(self, input: impl Into<String>) -> Self
pub fn policy(self, input: impl Into<String>) -> Self
The policy assigned to the origin endpoint.
This field is required.sourcepub fn set_policy(self, input: Option<String>) -> Self
pub fn set_policy(self, input: Option<String>) -> Self
The policy assigned to the origin endpoint.
sourcepub fn get_policy(&self) -> &Option<String>
pub fn get_policy(&self) -> &Option<String>
The policy assigned to the origin endpoint.
sourcepub fn build(self) -> Result<GetOriginEndpointPolicyOutput, BuildError>
pub fn build(self) -> Result<GetOriginEndpointPolicyOutput, BuildError>
Consumes the builder and constructs a GetOriginEndpointPolicyOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetOriginEndpointPolicyOutputBuilder
impl Clone for GetOriginEndpointPolicyOutputBuilder
source§fn clone(&self) -> GetOriginEndpointPolicyOutputBuilder
fn clone(&self) -> GetOriginEndpointPolicyOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetOriginEndpointPolicyOutputBuilder
impl Default for GetOriginEndpointPolicyOutputBuilder
source§fn default() -> GetOriginEndpointPolicyOutputBuilder
fn default() -> GetOriginEndpointPolicyOutputBuilder
source§impl PartialEq for GetOriginEndpointPolicyOutputBuilder
impl PartialEq for GetOriginEndpointPolicyOutputBuilder
source§fn eq(&self, other: &GetOriginEndpointPolicyOutputBuilder) -> bool
fn eq(&self, other: &GetOriginEndpointPolicyOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.