Struct aws_sdk_cloudfront::model::streaming_distribution::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for StreamingDistribution
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The identifier for the RTMP distribution. For example: EGTXBD79EXAMPLE
.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The identifier for the RTMP distribution. For example: EGTXBD79EXAMPLE
.
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5
, where 123456789012
is your Amazon Web Services account ID.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5
, where 123456789012
is your Amazon Web Services account ID.
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
The current status of the RTMP distribution. When the status is Deployed
, the distribution's information is propagated to all CloudFront edge locations.
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The current status of the RTMP distribution. When the status is Deployed
, the distribution's information is propagated to all CloudFront edge locations.
sourcepub fn last_modified_time(self, input: DateTime) -> Self
pub fn last_modified_time(self, input: DateTime) -> Self
The date and time that the distribution was last modified.
sourcepub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
The date and time that the distribution was last modified.
sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
The domain name that corresponds to the streaming distribution, for example, s5c39gqb8ow64r.cloudfront.net
.
sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
The domain name that corresponds to the streaming distribution, for example, s5c39gqb8ow64r.cloudfront.net
.
sourcepub fn active_trusted_signers(self, input: ActiveTrustedSigners) -> Self
pub fn active_trusted_signers(self, input: ActiveTrustedSigners) -> Self
A complex type that lists the Amazon Web Services accounts, if any, that you included in the TrustedSigners
complex type for this distribution. These are the accounts that you want to allow to create signed URLs for private content.
The Signer
complex type lists the Amazon Web Services account number of the trusted signer or self
if the signer is the Amazon Web Services account that created the distribution. The Signer
element also includes the IDs of any active CloudFront key pairs that are associated with the trusted signer's Amazon Web Services account. If no KeyPairId
element appears for a Signer
, that signer can't create signed URLs.
For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.
sourcepub fn set_active_trusted_signers(
self,
input: Option<ActiveTrustedSigners>
) -> Self
pub fn set_active_trusted_signers(
self,
input: Option<ActiveTrustedSigners>
) -> Self
A complex type that lists the Amazon Web Services accounts, if any, that you included in the TrustedSigners
complex type for this distribution. These are the accounts that you want to allow to create signed URLs for private content.
The Signer
complex type lists the Amazon Web Services account number of the trusted signer or self
if the signer is the Amazon Web Services account that created the distribution. The Signer
element also includes the IDs of any active CloudFront key pairs that are associated with the trusted signer's Amazon Web Services account. If no KeyPairId
element appears for a Signer
, that signer can't create signed URLs.
For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.
sourcepub fn streaming_distribution_config(
self,
input: StreamingDistributionConfig
) -> Self
pub fn streaming_distribution_config(
self,
input: StreamingDistributionConfig
) -> Self
The current configuration information for the RTMP distribution.
sourcepub fn set_streaming_distribution_config(
self,
input: Option<StreamingDistributionConfig>
) -> Self
pub fn set_streaming_distribution_config(
self,
input: Option<StreamingDistributionConfig>
) -> Self
The current configuration information for the RTMP distribution.
sourcepub fn build(self) -> StreamingDistribution
pub fn build(self) -> StreamingDistribution
Consumes the builder and constructs a StreamingDistribution
.