/* * Copyright 2018-2023 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. */ package com.amazonaws.services.apigateway.model; import java.io.Serializable; import javax.annotation.Generated; /** *
* Represents a client certificate used to configure client-side SSL authentication while sending requests to the * integration endpoint. *
*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class UpdateClientCertificateResult extends com.amazonaws.AmazonWebServiceResult* The identifier of the client certificate. *
*/ private String clientCertificateId; /** ** The description of the client certificate. *
*/ private String description; /** ** The PEM-encoded public key of the client certificate, which can be used to configure certificate authentication * in the integration endpoint . *
*/ private String pemEncodedCertificate; /** ** The timestamp when the client certificate was created. *
*/ private java.util.Date createdDate; /** ** The timestamp when the client certificate will expire. *
*/ private java.util.Date expirationDate; /** ** The collection of tags. Each tag element is associated with a given resource. *
*/ private java.util.Map* The identifier of the client certificate. *
* * @param clientCertificateId * The identifier of the client certificate. */ public void setClientCertificateId(String clientCertificateId) { this.clientCertificateId = clientCertificateId; } /** ** The identifier of the client certificate. *
* * @return The identifier of the client certificate. */ public String getClientCertificateId() { return this.clientCertificateId; } /** ** The identifier of the client certificate. *
* * @param clientCertificateId * The identifier of the client certificate. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateClientCertificateResult withClientCertificateId(String clientCertificateId) { setClientCertificateId(clientCertificateId); return this; } /** ** The description of the client certificate. *
* * @param description * The description of the client certificate. */ public void setDescription(String description) { this.description = description; } /** ** The description of the client certificate. *
* * @return The description of the client certificate. */ public String getDescription() { return this.description; } /** ** The description of the client certificate. *
* * @param description * The description of the client certificate. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateClientCertificateResult withDescription(String description) { setDescription(description); return this; } /** ** The PEM-encoded public key of the client certificate, which can be used to configure certificate authentication * in the integration endpoint . *
* * @param pemEncodedCertificate * The PEM-encoded public key of the client certificate, which can be used to configure certificate * authentication in the integration endpoint . */ public void setPemEncodedCertificate(String pemEncodedCertificate) { this.pemEncodedCertificate = pemEncodedCertificate; } /** ** The PEM-encoded public key of the client certificate, which can be used to configure certificate authentication * in the integration endpoint . *
* * @return The PEM-encoded public key of the client certificate, which can be used to configure certificate * authentication in the integration endpoint . */ public String getPemEncodedCertificate() { return this.pemEncodedCertificate; } /** ** The PEM-encoded public key of the client certificate, which can be used to configure certificate authentication * in the integration endpoint . *
* * @param pemEncodedCertificate * The PEM-encoded public key of the client certificate, which can be used to configure certificate * authentication in the integration endpoint . * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateClientCertificateResult withPemEncodedCertificate(String pemEncodedCertificate) { setPemEncodedCertificate(pemEncodedCertificate); return this; } /** ** The timestamp when the client certificate was created. *
* * @param createdDate * The timestamp when the client certificate was created. */ public void setCreatedDate(java.util.Date createdDate) { this.createdDate = createdDate; } /** ** The timestamp when the client certificate was created. *
* * @return The timestamp when the client certificate was created. */ public java.util.Date getCreatedDate() { return this.createdDate; } /** ** The timestamp when the client certificate was created. *
* * @param createdDate * The timestamp when the client certificate was created. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateClientCertificateResult withCreatedDate(java.util.Date createdDate) { setCreatedDate(createdDate); return this; } /** ** The timestamp when the client certificate will expire. *
* * @param expirationDate * The timestamp when the client certificate will expire. */ public void setExpirationDate(java.util.Date expirationDate) { this.expirationDate = expirationDate; } /** ** The timestamp when the client certificate will expire. *
* * @return The timestamp when the client certificate will expire. */ public java.util.Date getExpirationDate() { return this.expirationDate; } /** ** The timestamp when the client certificate will expire. *
* * @param expirationDate * The timestamp when the client certificate will expire. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateClientCertificateResult withExpirationDate(java.util.Date expirationDate) { setExpirationDate(expirationDate); return this; } /** ** The collection of tags. Each tag element is associated with a given resource. *
* * @return The collection of tags. Each tag element is associated with a given resource. */ public java.util.Map* The collection of tags. Each tag element is associated with a given resource. *
* * @param tags * The collection of tags. Each tag element is associated with a given resource. */ public void setTags(java.util.Map* The collection of tags. Each tag element is associated with a given resource. *
* * @param tags * The collection of tags. Each tag element is associated with a given resource. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateClientCertificateResult withTags(java.util.Map