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.

 /// <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;
 }
 /// <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;
 }