Class JobMetadata

    • Method Detail

      • jobId

        public final String jobId()

        The automatically generated ID for a job, for example JID123e4567-e89b-12d3-a456-426655440000.

        Returns:
        The automatically generated ID for a job, for example JID123e4567-e89b-12d3-a456-426655440000.
      • jobStateAsString

        public final String jobStateAsString()

        The current status of the jobs.

        If the service returns an enum value that is not available in the current SDK version, jobState will return JobState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from jobStateAsString().

        Returns:
        The current status of the jobs.
        See Also:
        JobState
      • creationDate

        public final Instant creationDate()

        The creation date for this job.

        Returns:
        The creation date for this job.
      • resources

        public final JobResource resources()

        An array of S3Resource objects. Each S3Resource object represents an Amazon S3 bucket that your transferred data will be exported from or imported into.

        Returns:
        An array of S3Resource objects. Each S3Resource object represents an Amazon S3 bucket that your transferred data will be exported from or imported into.
      • description

        public final String description()

        The description of the job, provided at job creation.

        Returns:
        The description of the job, provided at job creation.
      • kmsKeyARN

        public final String kmsKeyARN()

        The Amazon Resource Name (ARN) for the Key Management Service (KMS) key associated with this job. This ARN was created using the CreateKey API action in KMS.

        Returns:
        The Amazon Resource Name (ARN) for the Key Management Service (KMS) key associated with this job. This ARN was created using the CreateKey API action in KMS.
      • roleARN

        public final String roleARN()

        The role ARN associated with this job. This ARN was created using the CreateRole API action in Identity and Access Management.

        Returns:
        The role ARN associated with this job. This ARN was created using the CreateRole API action in Identity and Access Management.
      • addressId

        public final String addressId()

        The ID for the address that you want the Snow device shipped to.

        Returns:
        The ID for the address that you want the Snow device shipped to.
      • shippingDetails

        public final ShippingDetails shippingDetails()

        A job's shipping information, including inbound and outbound tracking numbers and shipping speed options.

        Returns:
        A job's shipping information, including inbound and outbound tracking numbers and shipping speed options.
      • snowballCapacityPreference

        public final SnowballCapacity snowballCapacityPreference()

        The Snow device capacity preference for this job, specified at job creation. In US regions, you can choose between 50 TB and 80 TB Snowballs. All other regions use 80 TB capacity Snowballs.

        For more information, see "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" (Snow Family Devices and Capacity) in the Snowcone User Guide or "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" (Snow Family Devices and Capacity) in the Snowcone User Guide.

        If the service returns an enum value that is not available in the current SDK version, snowballCapacityPreference will return SnowballCapacity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from snowballCapacityPreferenceAsString().

        Returns:
        The Snow device capacity preference for this job, specified at job creation. In US regions, you can choose between 50 TB and 80 TB Snowballs. All other regions use 80 TB capacity Snowballs.

        For more information, see "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" (Snow Family Devices and Capacity) in the Snowcone User Guide or "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" (Snow Family Devices and Capacity) in the Snowcone User Guide.

        See Also:
        SnowballCapacity
      • snowballCapacityPreferenceAsString

        public final String snowballCapacityPreferenceAsString()

        The Snow device capacity preference for this job, specified at job creation. In US regions, you can choose between 50 TB and 80 TB Snowballs. All other regions use 80 TB capacity Snowballs.

        For more information, see "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" (Snow Family Devices and Capacity) in the Snowcone User Guide or "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" (Snow Family Devices and Capacity) in the Snowcone User Guide.

        If the service returns an enum value that is not available in the current SDK version, snowballCapacityPreference will return SnowballCapacity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from snowballCapacityPreferenceAsString().

        Returns:
        The Snow device capacity preference for this job, specified at job creation. In US regions, you can choose between 50 TB and 80 TB Snowballs. All other regions use 80 TB capacity Snowballs.

        For more information, see "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" (Snow Family Devices and Capacity) in the Snowcone User Guide or "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" (Snow Family Devices and Capacity) in the Snowcone User Guide.

        See Also:
        SnowballCapacity
      • notification

        public final Notification notification()

        The Amazon Simple Notification Service (Amazon SNS) notification settings associated with a specific job. The Notification object is returned as a part of the response syntax of the DescribeJob action in the JobMetadata data type.

        Returns:
        The Amazon Simple Notification Service (Amazon SNS) notification settings associated with a specific job. The Notification object is returned as a part of the response syntax of the DescribeJob action in the JobMetadata data type.
      • dataTransferProgress

        public final DataTransfer dataTransferProgress()

        A value that defines the real-time status of a Snow device's data transfer while the device is at Amazon Web Services. This data is only available while a job has a JobState value of InProgress, for both import and export jobs.

        Returns:
        A value that defines the real-time status of a Snow device's data transfer while the device is at Amazon Web Services. This data is only available while a job has a JobState value of InProgress, for both import and export jobs.
      • jobLogInfo

        public final JobLogs jobLogInfo()

        Links to Amazon S3 presigned URLs for the job report and logs. For import jobs, the PDF job report becomes available at the end of the import process. For export jobs, your job report typically becomes available while the Snow device for your job part is being delivered to you.

        Returns:
        Links to Amazon S3 presigned URLs for the job report and logs. For import jobs, the PDF job report becomes available at the end of the import process. For export jobs, your job report typically becomes available while the Snow device for your job part is being delivered to you.
      • clusterId

        public final String clusterId()

        The 39-character ID for the cluster, for example CID123e4567-e89b-12d3-a456-426655440000.

        Returns:
        The 39-character ID for the cluster, for example CID123e4567-e89b-12d3-a456-426655440000.
      • forwardingAddressId

        public final String forwardingAddressId()

        The ID of the address that you want a job shipped to, after it will be shipped to its primary address. This field is not supported in most regions.

        Returns:
        The ID of the address that you want a job shipped to, after it will be shipped to its primary address. This field is not supported in most regions.
      • taxDocuments

        public final TaxDocuments taxDocuments()

        The metadata associated with the tax documents required in your Amazon Web Services Region.

        Returns:
        The metadata associated with the tax documents required in your Amazon Web Services Region.
      • deviceConfiguration

        public final DeviceConfiguration deviceConfiguration()
        Returns the value of the DeviceConfiguration property for this object.
        Returns:
        The value of the DeviceConfiguration property for this object.
      • remoteManagement

        public final RemoteManagement remoteManagement()

        Allows you to securely operate and manage Snowcone devices remotely from outside of your internal network. When set to INSTALLED_AUTOSTART, remote management will automatically be available when the device arrives at your location. Otherwise, you need to use the Snowball Client to manage the device.

        If the service returns an enum value that is not available in the current SDK version, remoteManagement will return RemoteManagement.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from remoteManagementAsString().

        Returns:
        Allows you to securely operate and manage Snowcone devices remotely from outside of your internal network. When set to INSTALLED_AUTOSTART, remote management will automatically be available when the device arrives at your location. Otherwise, you need to use the Snowball Client to manage the device.
        See Also:
        RemoteManagement
      • remoteManagementAsString

        public final String remoteManagementAsString()

        Allows you to securely operate and manage Snowcone devices remotely from outside of your internal network. When set to INSTALLED_AUTOSTART, remote management will automatically be available when the device arrives at your location. Otherwise, you need to use the Snowball Client to manage the device.

        If the service returns an enum value that is not available in the current SDK version, remoteManagement will return RemoteManagement.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from remoteManagementAsString().

        Returns:
        Allows you to securely operate and manage Snowcone devices remotely from outside of your internal network. When set to INSTALLED_AUTOSTART, remote management will automatically be available when the device arrives at your location. Otherwise, you need to use the Snowball Client to manage the device.
        See Also:
        RemoteManagement
      • longTermPricingId

        public final String longTermPricingId()

        The ID of the long-term pricing type for the device.

        Returns:
        The ID of the long-term pricing type for the device.
      • onDeviceServiceConfiguration

        public final OnDeviceServiceConfiguration onDeviceServiceConfiguration()

        Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device.

        Returns:
        Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device.
      • impactLevel

        public final ImpactLevel impactLevel()

        The highest impact level of data that will be stored or processed on the device, provided at job creation.

        If the service returns an enum value that is not available in the current SDK version, impactLevel will return ImpactLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from impactLevelAsString().

        Returns:
        The highest impact level of data that will be stored or processed on the device, provided at job creation.
        See Also:
        ImpactLevel
      • impactLevelAsString

        public final String impactLevelAsString()

        The highest impact level of data that will be stored or processed on the device, provided at job creation.

        If the service returns an enum value that is not available in the current SDK version, impactLevel will return ImpactLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from impactLevelAsString().

        Returns:
        The highest impact level of data that will be stored or processed on the device, provided at job creation.
        See Also:
        ImpactLevel
      • pickupDetails

        public final PickupDetails pickupDetails()

        Information identifying the person picking up the device.

        Returns:
        Information identifying the person picking up the device.
      • snowballId

        public final String snowballId()

        Unique ID associated with a device.

        Returns:
        Unique ID associated with a device.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)