/* * 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.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Contains information about the ACM certificates and code signing configuration parameters that can be used by a given * code signing user. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class SigningProfile implements Serializable, Cloneable, StructuredPojo { /** ** The name of the signing profile. *
*/ private String profileName; /** ** The version of a signing profile. *
*/ private String profileVersion; /** ** The ARN of a signing profile, including the profile version. *
*/ private String profileVersionArn; /** ** The ACM certificate that is available for use by a signing profile. *
*/ private SigningMaterial signingMaterial; /** ** The validity period for a signing job created using this signing profile. *
*/ private SignatureValidityPeriod signatureValidityPeriod; /** ** The ID of a platform that is available for use by a signing profile. *
*/ private String platformId; /** ** The name of the signing platform. *
*/ private String platformDisplayName; /** ** The parameters that are available for use by a code signing user. *
*/ private java.util.Map* The status of a code signing profile. *
*/ private String status; /** ** The Amazon Resource Name (ARN) for the signing profile. *
*/ private String arn; /** ** A list of tags associated with the signing profile. *
*/ private java.util.Map* The name of the signing profile. *
* * @param profileName * The name of the signing profile. */ public void setProfileName(String profileName) { this.profileName = profileName; } /** ** The name of the signing profile. *
* * @return The name of the signing profile. */ public String getProfileName() { return this.profileName; } /** ** The name of the signing profile. *
* * @param profileName * The name of the signing profile. * @return Returns a reference to this object so that method calls can be chained together. */ public SigningProfile withProfileName(String profileName) { setProfileName(profileName); return this; } /** ** The version of a signing profile. *
* * @param profileVersion * The version of a signing profile. */ public void setProfileVersion(String profileVersion) { this.profileVersion = profileVersion; } /** ** The version of a signing profile. *
* * @return The version of a signing profile. */ public String getProfileVersion() { return this.profileVersion; } /** ** The version of a signing profile. *
* * @param profileVersion * The version of a signing profile. * @return Returns a reference to this object so that method calls can be chained together. */ public SigningProfile withProfileVersion(String profileVersion) { setProfileVersion(profileVersion); return this; } /** ** The ARN of a signing profile, including the profile version. *
* * @param profileVersionArn * The ARN of a signing profile, including the profile version. */ public void setProfileVersionArn(String profileVersionArn) { this.profileVersionArn = profileVersionArn; } /** ** The ARN of a signing profile, including the profile version. *
* * @return The ARN of a signing profile, including the profile version. */ public String getProfileVersionArn() { return this.profileVersionArn; } /** ** The ARN of a signing profile, including the profile version. *
* * @param profileVersionArn * The ARN of a signing profile, including the profile version. * @return Returns a reference to this object so that method calls can be chained together. */ public SigningProfile withProfileVersionArn(String profileVersionArn) { setProfileVersionArn(profileVersionArn); return this; } /** ** The ACM certificate that is available for use by a signing profile. *
* * @param signingMaterial * The ACM certificate that is available for use by a signing profile. */ public void setSigningMaterial(SigningMaterial signingMaterial) { this.signingMaterial = signingMaterial; } /** ** The ACM certificate that is available for use by a signing profile. *
* * @return The ACM certificate that is available for use by a signing profile. */ public SigningMaterial getSigningMaterial() { return this.signingMaterial; } /** ** The ACM certificate that is available for use by a signing profile. *
* * @param signingMaterial * The ACM certificate that is available for use by a signing profile. * @return Returns a reference to this object so that method calls can be chained together. */ public SigningProfile withSigningMaterial(SigningMaterial signingMaterial) { setSigningMaterial(signingMaterial); return this; } /** ** The validity period for a signing job created using this signing profile. *
* * @param signatureValidityPeriod * The validity period for a signing job created using this signing profile. */ public void setSignatureValidityPeriod(SignatureValidityPeriod signatureValidityPeriod) { this.signatureValidityPeriod = signatureValidityPeriod; } /** ** The validity period for a signing job created using this signing profile. *
* * @return The validity period for a signing job created using this signing profile. */ public SignatureValidityPeriod getSignatureValidityPeriod() { return this.signatureValidityPeriod; } /** ** The validity period for a signing job created using this signing profile. *
* * @param signatureValidityPeriod * The validity period for a signing job created using this signing profile. * @return Returns a reference to this object so that method calls can be chained together. */ public SigningProfile withSignatureValidityPeriod(SignatureValidityPeriod signatureValidityPeriod) { setSignatureValidityPeriod(signatureValidityPeriod); return this; } /** ** The ID of a platform that is available for use by a signing profile. *
* * @param platformId * The ID of a platform that is available for use by a signing profile. */ public void setPlatformId(String platformId) { this.platformId = platformId; } /** ** The ID of a platform that is available for use by a signing profile. *
* * @return The ID of a platform that is available for use by a signing profile. */ public String getPlatformId() { return this.platformId; } /** ** The ID of a platform that is available for use by a signing profile. *
* * @param platformId * The ID of a platform that is available for use by a signing profile. * @return Returns a reference to this object so that method calls can be chained together. */ public SigningProfile withPlatformId(String platformId) { setPlatformId(platformId); return this; } /** ** The name of the signing platform. *
* * @param platformDisplayName * The name of the signing platform. */ public void setPlatformDisplayName(String platformDisplayName) { this.platformDisplayName = platformDisplayName; } /** ** The name of the signing platform. *
* * @return The name of the signing platform. */ public String getPlatformDisplayName() { return this.platformDisplayName; } /** ** The name of the signing platform. *
* * @param platformDisplayName * The name of the signing platform. * @return Returns a reference to this object so that method calls can be chained together. */ public SigningProfile withPlatformDisplayName(String platformDisplayName) { setPlatformDisplayName(platformDisplayName); return this; } /** ** The parameters that are available for use by a code signing user. *
* * @return The parameters that are available for use by a code signing user. */ public java.util.Map* The parameters that are available for use by a code signing user. *
* * @param signingParameters * The parameters that are available for use by a code signing user. */ public void setSigningParameters(java.util.Map* The parameters that are available for use by a code signing user. *
* * @param signingParameters * The parameters that are available for use by a code signing user. * @return Returns a reference to this object so that method calls can be chained together. */ public SigningProfile withSigningParameters(java.util.Map* The status of a code signing profile. *
* * @param status * The status of a code signing profile. * @see SigningProfileStatus */ public void setStatus(String status) { this.status = status; } /** ** The status of a code signing profile. *
* * @return The status of a code signing profile. * @see SigningProfileStatus */ public String getStatus() { return this.status; } /** ** The status of a code signing profile. *
* * @param status * The status of a code signing profile. * @return Returns a reference to this object so that method calls can be chained together. * @see SigningProfileStatus */ public SigningProfile withStatus(String status) { setStatus(status); return this; } /** ** The status of a code signing profile. *
* * @param status * The status of a code signing profile. * @return Returns a reference to this object so that method calls can be chained together. * @see SigningProfileStatus */ public SigningProfile withStatus(SigningProfileStatus status) { this.status = status.toString(); return this; } /** ** The Amazon Resource Name (ARN) for the signing profile. *
* * @param arn * The Amazon Resource Name (ARN) for the signing profile. */ public void setArn(String arn) { this.arn = arn; } /** ** The Amazon Resource Name (ARN) for the signing profile. *
* * @return The Amazon Resource Name (ARN) for the signing profile. */ public String getArn() { return this.arn; } /** ** The Amazon Resource Name (ARN) for the signing profile. *
* * @param arn * The Amazon Resource Name (ARN) for the signing profile. * @return Returns a reference to this object so that method calls can be chained together. */ public SigningProfile withArn(String arn) { setArn(arn); return this; } /** ** A list of tags associated with the signing profile. *
* * @return A list of tags associated with the signing profile. */ public java.util.Map* A list of tags associated with the signing profile. *
* * @param tags * A list of tags associated with the signing profile. */ public void setTags(java.util.Map* A list of tags associated with the signing profile. *
* * @param tags * A list of tags associated with the signing profile. * @return Returns a reference to this object so that method calls can be chained together. */ public SigningProfile withTags(java.util.Map