Contains information about a server certificate without its certificate body, certificate chain, and private key.

This data type is used as a response element in the UploadServerCertificate and ListServerCertificates actions.

コード例 #1
0
 /// <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;
 }
コード例 #2
0
 /// <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);
 }
コード例 #3
0
 /// <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;
 }
コード例 #4
0
 /// <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;
 }
コード例 #5
0
 /// <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);
 }
コード例 #6
0
 /// <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;
 }