Struct aws_sdk_ecrpublic::model::authorization_data::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for AuthorizationData.
Implementations§
source§impl Builder
impl Builder
A base64-encoded string that contains authorization data for a public Amazon ECR registry. When the string is decoded, it's presented in the format user:password for public registry authentication using docker login.
A base64-encoded string that contains authorization data for a public Amazon ECR registry. When the string is decoded, it's presented in the format user:password for public registry authentication using docker login.
sourcepub fn expires_at(self, input: DateTime) -> Self
pub fn expires_at(self, input: DateTime) -> Self
The Unix time in seconds and milliseconds when the authorization token expires. Authorization tokens are valid for 12 hours.
sourcepub fn set_expires_at(self, input: Option<DateTime>) -> Self
pub fn set_expires_at(self, input: Option<DateTime>) -> Self
The Unix time in seconds and milliseconds when the authorization token expires. Authorization tokens are valid for 12 hours.
sourcepub fn build(self) -> AuthorizationData
pub fn build(self) -> AuthorizationData
Consumes the builder and constructs a AuthorizationData.