pub struct Builder { /* private fields */ }
Expand description
A builder for CloudFrontOriginAccessIdentity
.
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 ID for the origin access identity, for example, E74FTE3AJFJ256A
.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The ID for the origin access identity, for example, E74FTE3AJFJ256A
.
sourcepub fn s3_canonical_user_id(self, input: impl Into<String>) -> Self
pub fn s3_canonical_user_id(self, input: impl Into<String>) -> Self
The Amazon S3 canonical user ID for the origin access identity, used when giving the origin access identity read permission to an object in Amazon S3.
sourcepub fn set_s3_canonical_user_id(self, input: Option<String>) -> Self
pub fn set_s3_canonical_user_id(self, input: Option<String>) -> Self
The Amazon S3 canonical user ID for the origin access identity, used when giving the origin access identity read permission to an object in Amazon S3.
sourcepub fn cloud_front_origin_access_identity_config(
self,
input: CloudFrontOriginAccessIdentityConfig
) -> Self
pub fn cloud_front_origin_access_identity_config(
self,
input: CloudFrontOriginAccessIdentityConfig
) -> Self
The current configuration information for the identity.
sourcepub fn set_cloud_front_origin_access_identity_config(
self,
input: Option<CloudFrontOriginAccessIdentityConfig>
) -> Self
pub fn set_cloud_front_origin_access_identity_config(
self,
input: Option<CloudFrontOriginAccessIdentityConfig>
) -> Self
The current configuration information for the identity.
sourcepub fn build(self) -> CloudFrontOriginAccessIdentity
pub fn build(self) -> CloudFrontOriginAccessIdentity
Consumes the builder and constructs a CloudFrontOriginAccessIdentity
.