/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the lightsail-2016-11-28.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Lightsail.Model { /// /// Describes the sign-in credentials for the container image registry of an Amazon Lightsail /// account. /// public partial class ContainerServiceRegistryLogin { private DateTime? _expiresAt; private string _password; private string _registry; private string _username; /// /// Gets and sets the property ExpiresAt. /// /// The timestamp of when the container image registry sign-in credentials expire. /// /// /// /// The log in credentials expire 12 hours after they are created, at which point you /// will need to create a new set of log in credentials using the CreateContainerServiceRegistryLogin /// action. /// /// public DateTime ExpiresAt { get { return this._expiresAt.GetValueOrDefault(); } set { this._expiresAt = value; } } // Check to see if ExpiresAt property is set internal bool IsSetExpiresAt() { return this._expiresAt.HasValue; } /// /// Gets and sets the property Password. /// /// The container service registry password to use to push container images to the container /// image registry of a Lightsail account /// /// public string Password { get { return this._password; } set { this._password = value; } } // Check to see if Password property is set internal bool IsSetPassword() { return this._password != null; } /// /// Gets and sets the property Registry. /// /// The address to use to push container images to the container image registry of a Lightsail /// account. /// /// public string Registry { get { return this._registry; } set { this._registry = value; } } // Check to see if Registry property is set internal bool IsSetRegistry() { return this._registry != null; } /// /// Gets and sets the property Username. /// /// The container service registry username to use to push container images to the container /// image registry of a Lightsail account. /// /// public string Username { get { return this._username; } set { this._username = value; } } // Check to see if Username property is set internal bool IsSetUsername() { return this._username != null; } } }