Class DescribeSigningJobResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.signer.model.SignerResponse
-
- software.amazon.awssdk.services.signer.model.DescribeSigningJobResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeSigningJobResponse.Builder,DescribeSigningJobResponse>
@Generated("software.amazon.awssdk:codegen") public final class DescribeSigningJobResponse extends SignerResponse implements ToCopyableBuilder<DescribeSigningJobResponse.Builder,DescribeSigningJobResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribeSigningJobResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DescribeSigningJobResponse.Builderbuilder()InstantcompletedAt()Date and time that the signing job was completed.InstantcreatedAt()Date and time that the signing job was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasSigningParameters()For responses, this returns true if the service returned a value for the SigningParameters property.StringjobId()The ID of the signing job on output.StringjobInvoker()The IAM entity that initiated the signing job.StringjobOwner()The AWS account ID of the job owner.SigningPlatformOverridesoverrides()A list of any overrides that were applied to the signing operation.StringplatformDisplayName()A human-readable name for the signing platform associated with the signing job.StringplatformId()The microcontroller platform to which your signed code image will be distributed.StringprofileName()The name of the profile that initiated the signing operation.StringprofileVersion()The version of the signing profile used to initiate the signing job.StringrequestedBy()The IAM principal that requested the signing job.SigningJobRevocationRecordrevocationRecord()A revocation record if the signature generated by the signing job has been revoked.List<SdkField<?>>sdkFields()static Class<? extends DescribeSigningJobResponse.Builder>serializableBuilderClass()InstantsignatureExpiresAt()Thr expiration timestamp for the signature generated by the signing job.SignedObjectsignedObject()Name of the S3 bucket where the signed code image is saved by AWS Signer.SigningMaterialsigningMaterial()The Amazon Resource Name (ARN) of your code signing certificate.Map<String,String>signingParameters()Map of user-assigned key-value pairs used during signing.Sourcesource()The object that contains the name of your S3 bucket or your raw code.SigningStatusstatus()Status of the signing job.StringstatusAsString()Status of the signing job.StringstatusReason()String value that contains the status reason.DescribeSigningJobResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.signer.model.SignerResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
jobId
public final String jobId()
The ID of the signing job on output.
- Returns:
- The ID of the signing job on output.
-
source
public final Source source()
The object that contains the name of your S3 bucket or your raw code.
- Returns:
- The object that contains the name of your S3 bucket or your raw code.
-
signingMaterial
public final SigningMaterial signingMaterial()
The Amazon Resource Name (ARN) of your code signing certificate.
- Returns:
- The Amazon Resource Name (ARN) of your code signing certificate.
-
platformId
public final String platformId()
The microcontroller platform to which your signed code image will be distributed.
- Returns:
- The microcontroller platform to which your signed code image will be distributed.
-
platformDisplayName
public final String platformDisplayName()
A human-readable name for the signing platform associated with the signing job.
- Returns:
- A human-readable name for the signing platform associated with the signing job.
-
profileName
public final String profileName()
The name of the profile that initiated the signing operation.
- Returns:
- The name of the profile that initiated the signing operation.
-
profileVersion
public final String profileVersion()
The version of the signing profile used to initiate the signing job.
- Returns:
- The version of the signing profile used to initiate the signing job.
-
overrides
public final SigningPlatformOverrides overrides()
A list of any overrides that were applied to the signing operation.
- Returns:
- A list of any overrides that were applied to the signing operation.
-
hasSigningParameters
public final boolean hasSigningParameters()
For responses, this returns true if the service returned a value for the SigningParameters property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
signingParameters
public final Map<String,String> signingParameters()
Map of user-assigned key-value pairs used during signing. These values contain any information that you specified for use in your signing job.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasSigningParameters()method.- Returns:
- Map of user-assigned key-value pairs used during signing. These values contain any information that you specified for use in your signing job.
-
createdAt
public final Instant createdAt()
Date and time that the signing job was created.
- Returns:
- Date and time that the signing job was created.
-
completedAt
public final Instant completedAt()
Date and time that the signing job was completed.
- Returns:
- Date and time that the signing job was completed.
-
signatureExpiresAt
public final Instant signatureExpiresAt()
Thr expiration timestamp for the signature generated by the signing job.
- Returns:
- Thr expiration timestamp for the signature generated by the signing job.
-
requestedBy
public final String requestedBy()
The IAM principal that requested the signing job.
- Returns:
- The IAM principal that requested the signing job.
-
status
public final SigningStatus status()
Status of the signing job.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnSigningStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Status of the signing job.
- See Also:
SigningStatus
-
statusAsString
public final String statusAsString()
Status of the signing job.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnSigningStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Status of the signing job.
- See Also:
SigningStatus
-
statusReason
public final String statusReason()
String value that contains the status reason.
- Returns:
- String value that contains the status reason.
-
revocationRecord
public final SigningJobRevocationRecord revocationRecord()
A revocation record if the signature generated by the signing job has been revoked. Contains a timestamp and the ID of the IAM entity that revoked the signature.
- Returns:
- A revocation record if the signature generated by the signing job has been revoked. Contains a timestamp and the ID of the IAM entity that revoked the signature.
-
signedObject
public final SignedObject signedObject()
Name of the S3 bucket where the signed code image is saved by AWS Signer.
- Returns:
- Name of the S3 bucket where the signed code image is saved by AWS Signer.
-
jobOwner
public final String jobOwner()
The AWS account ID of the job owner.
- Returns:
- The AWS account ID of the job owner.
-
jobInvoker
public final String jobInvoker()
The IAM entity that initiated the signing job.
- Returns:
- The IAM entity that initiated the signing job.
-
toBuilder
public DescribeSigningJobResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeSigningJobResponse.Builder,DescribeSigningJobResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static DescribeSigningJobResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeSigningJobResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-