Struct aws_sdk_ecr::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 the specified Amazon ECR registry. When the string is decoded, it is presented in the format user:password for private registry authentication using docker login.
A base64-encoded string that contains authorization data for the specified Amazon ECR registry. When the string is decoded, it is presented in the format user:password for private 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 proxy_endpoint(self, input: impl Into<String>) -> Self
pub fn proxy_endpoint(self, input: impl Into<String>) -> Self
The registry URL to use for this authorization token in a docker login command. The Amazon ECR registry URL format is https://aws_account_id.dkr.ecr.region.amazonaws.com. For example, https://012345678910.dkr.ecr.us-east-1.amazonaws.com..
sourcepub fn set_proxy_endpoint(self, input: Option<String>) -> Self
pub fn set_proxy_endpoint(self, input: Option<String>) -> Self
The registry URL to use for this authorization token in a docker login command. The Amazon ECR registry URL format is https://aws_account_id.dkr.ecr.region.amazonaws.com. For example, https://012345678910.dkr.ecr.us-east-1.amazonaws.com..
sourcepub fn build(self) -> AuthorizationData
pub fn build(self) -> AuthorizationData
Consumes the builder and constructs a AuthorizationData.