This data type is used as a response element in the UploadServerCertificate and ListServerCertificates actions.
/// <summary> /// Instantiates ServerCertificate with the parameterized properties /// </summary> /// <param name="serverCertificateMetadata">The meta information of the server certificate, such as its name, path, ID, and ARN.</param> /// <param name="certificateBody">The contents of the public key certificate.</param> public ServerCertificate(ServerCertificateMetadata serverCertificateMetadata, string certificateBody) { _serverCertificateMetadata = serverCertificateMetadata; _certificateBody = certificateBody; }
/// <summary> /// Sets the ServerCertificateMetadata property /// </summary> /// <param name="serverCertificateMetadata">The value to set for the ServerCertificateMetadata property </param> /// <returns>this instance</returns> public UploadServerCertificateResult WithServerCertificateMetadata(ServerCertificateMetadata serverCertificateMetadata) { this.serverCertificateMetadata = serverCertificateMetadata; return(this); }
/// <summary> /// Sets the ServerCertificateMetadata property /// </summary> /// <param name="serverCertificateMetadata">The value to set for the ServerCertificateMetadata property </param> /// <returns>this instance</returns> public ServerCertificate WithServerCertificateMetadata(ServerCertificateMetadata serverCertificateMetadata) { this.serverCertificateMetadata = serverCertificateMetadata; return this; }
/// <summary> /// Sets the ServerCertificateMetadata property /// </summary> /// <param name="serverCertificateMetadata">The value to set for the ServerCertificateMetadata property </param> /// <returns>this instance</returns> public UploadServerCertificateResult WithServerCertificateMetadata(ServerCertificateMetadata serverCertificateMetadata) { this.serverCertificateMetadata = serverCertificateMetadata; return this; }
/// <summary> /// Sets the ServerCertificateMetadata property /// </summary> /// <param name="serverCertificateMetadata">The value to set for the ServerCertificateMetadata property </param> /// <returns>this instance</returns> public ServerCertificate WithServerCertificateMetadata(ServerCertificateMetadata serverCertificateMetadata) { this.serverCertificateMetadata = serverCertificateMetadata; return(this); }