/* * 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.signer.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class GetRevocationStatusRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* The timestamp of the signature that validates the profile or job. *
*/ private java.util.Date signatureTimestamp; /** ** The ID of a signing platform. *
*/ private String platformId; /** ** The version of a signing profile. *
*/ private String profileVersionArn; /** ** The ARN of a signing job. *
*/ private String jobArn; /** ** A list of composite signed hashes that identify certificates. *
** A certificate identifier consists of a subject certificate TBS hash (signed by the parent CA) combined with a * parent CA TBS hash (signed by the parent CA’s CA). Root certificates are defined as their own CA. *
*/ private java.util.List* The timestamp of the signature that validates the profile or job. *
* * @param signatureTimestamp * The timestamp of the signature that validates the profile or job. */ public void setSignatureTimestamp(java.util.Date signatureTimestamp) { this.signatureTimestamp = signatureTimestamp; } /** ** The timestamp of the signature that validates the profile or job. *
* * @return The timestamp of the signature that validates the profile or job. */ public java.util.Date getSignatureTimestamp() { return this.signatureTimestamp; } /** ** The timestamp of the signature that validates the profile or job. *
* * @param signatureTimestamp * The timestamp of the signature that validates the profile or job. * @return Returns a reference to this object so that method calls can be chained together. */ public GetRevocationStatusRequest withSignatureTimestamp(java.util.Date signatureTimestamp) { setSignatureTimestamp(signatureTimestamp); return this; } /** ** The ID of a signing platform. *
* * @param platformId * The ID of a signing platform. */ public void setPlatformId(String platformId) { this.platformId = platformId; } /** ** The ID of a signing platform. *
* * @return The ID of a signing platform. */ public String getPlatformId() { return this.platformId; } /** ** The ID of a signing platform. *
* * @param platformId * The ID of a signing platform. * @return Returns a reference to this object so that method calls can be chained together. */ public GetRevocationStatusRequest withPlatformId(String platformId) { setPlatformId(platformId); return this; } /** ** The version of a signing profile. *
* * @param profileVersionArn * The version of a signing profile. */ public void setProfileVersionArn(String profileVersionArn) { this.profileVersionArn = profileVersionArn; } /** ** The version of a signing profile. *
* * @return The version of a signing profile. */ public String getProfileVersionArn() { return this.profileVersionArn; } /** ** The version of a signing profile. *
* * @param profileVersionArn * The version of a signing profile. * @return Returns a reference to this object so that method calls can be chained together. */ public GetRevocationStatusRequest withProfileVersionArn(String profileVersionArn) { setProfileVersionArn(profileVersionArn); return this; } /** ** The ARN of a signing job. *
* * @param jobArn * The ARN of a signing job. */ public void setJobArn(String jobArn) { this.jobArn = jobArn; } /** ** The ARN of a signing job. *
* * @return The ARN of a signing job. */ public String getJobArn() { return this.jobArn; } /** ** The ARN of a signing job. *
* * @param jobArn * The ARN of a signing job. * @return Returns a reference to this object so that method calls can be chained together. */ public GetRevocationStatusRequest withJobArn(String jobArn) { setJobArn(jobArn); return this; } /** ** A list of composite signed hashes that identify certificates. *
** A certificate identifier consists of a subject certificate TBS hash (signed by the parent CA) combined with a * parent CA TBS hash (signed by the parent CA’s CA). Root certificates are defined as their own CA. *
* * @return A list of composite signed hashes that identify certificates. *
* A certificate identifier consists of a subject certificate TBS hash (signed by the parent CA) combined
* with a parent CA TBS hash (signed by the parent CA’s CA). Root certificates are defined as their own CA.
*/
public java.util.List
* A list of composite signed hashes that identify certificates.
*
* A certificate identifier consists of a subject certificate TBS hash (signed by the parent CA) combined with a
* parent CA TBS hash (signed by the parent CA’s CA). Root certificates are defined as their own CA.
*
* A certificate identifier consists of a subject certificate TBS hash (signed by the parent CA) combined
* with a parent CA TBS hash (signed by the parent CA’s CA). Root certificates are defined as their own CA.
*/
public void setCertificateHashes(java.util.Collection
* A list of composite signed hashes that identify certificates.
*
* A certificate identifier consists of a subject certificate TBS hash (signed by the parent CA) combined with a
* parent CA TBS hash (signed by the parent CA’s CA). Root certificates are defined as their own CA.
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setCertificateHashes(java.util.Collection)} or {@link #withCertificateHashes(java.util.Collection)} if
* you want to override the existing values.
*
* A certificate identifier consists of a subject certificate TBS hash (signed by the parent CA) combined
* with a parent CA TBS hash (signed by the parent CA’s CA). Root certificates are defined as their own CA.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetRevocationStatusRequest withCertificateHashes(String... certificateHashes) {
if (this.certificateHashes == null) {
setCertificateHashes(new java.util.ArrayList
* A list of composite signed hashes that identify certificates.
*
* A certificate identifier consists of a subject certificate TBS hash (signed by the parent CA) combined with a
* parent CA TBS hash (signed by the parent CA’s CA). Root certificates are defined as their own CA.
*
* A certificate identifier consists of a subject certificate TBS hash (signed by the parent CA) combined
* with a parent CA TBS hash (signed by the parent CA’s CA). Root certificates are defined as their own CA.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetRevocationStatusRequest withCertificateHashes(java.util.Collection