Class JobMetadata
- java.lang.Object
-
- software.amazon.awssdk.services.snowball.model.JobMetadata
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<JobMetadata.Builder,JobMetadata>
@Generated("software.amazon.awssdk:codegen") public final class JobMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<JobMetadata.Builder,JobMetadata>
Contains information about a specific job including shipping information, job status, and other important metadata. This information is returned as a part of the response syntax of the
DescribeJobaction.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceJobMetadata.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaddressId()The ID for the address that you want the Snow device shipped to.static JobMetadata.Builderbuilder()StringclusterId()The 39-character ID for the cluster, for exampleCID123e4567-e89b-12d3-a456-426655440000.InstantcreationDate()The creation date for this job.DataTransferdataTransferProgress()A value that defines the real-time status of a Snow device's data transfer while the device is at Amazon Web Services.Stringdescription()The description of the job, provided at job creation.DeviceConfigurationdeviceConfiguration()Returns the value of the DeviceConfiguration property for this object.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringforwardingAddressId()The ID of the address that you want a job shipped to, after it will be shipped to its primary address.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ImpactLevelimpactLevel()The highest impact level of data that will be stored or processed on the device, provided at job creation.StringimpactLevelAsString()The highest impact level of data that will be stored or processed on the device, provided at job creation.StringjobId()The automatically generated ID for a job, for exampleJID123e4567-e89b-12d3-a456-426655440000.JobLogsjobLogInfo()Links to Amazon S3 presigned URLs for the job report and logs.JobStatejobState()The current status of the jobs.StringjobStateAsString()The current status of the jobs.JobTypejobType()The type of job.StringjobTypeAsString()The type of job.StringkmsKeyARN()The Amazon Resource Name (ARN) for the Key Management Service (KMS) key associated with this job.StringlongTermPricingId()The ID of the long-term pricing type for the device.Notificationnotification()The Amazon Simple Notification Service (Amazon SNS) notification settings associated with a specific job.OnDeviceServiceConfigurationonDeviceServiceConfiguration()Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device.PickupDetailspickupDetails()Information identifying the person picking up the device.RemoteManagementremoteManagement()Allows you to securely operate and manage Snowcone devices remotely from outside of your internal network.StringremoteManagementAsString()Allows you to securely operate and manage Snowcone devices remotely from outside of your internal network.JobResourceresources()An array ofS3Resourceobjects.StringroleARN()The role ARN associated with this job.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends JobMetadata.Builder>serializableBuilderClass()ShippingDetailsshippingDetails()A job's shipping information, including inbound and outbound tracking numbers and shipping speed options.SnowballCapacitysnowballCapacityPreference()The Snow device capacity preference for this job, specified at job creation.StringsnowballCapacityPreferenceAsString()The Snow device capacity preference for this job, specified at job creation.StringsnowballId()Unique ID associated with a device.SnowballTypesnowballType()The type of device used with this job.StringsnowballTypeAsString()The type of device used with this job.TaxDocumentstaxDocuments()The metadata associated with the tax documents required in your Amazon Web Services Region.JobMetadata.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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 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.
-
jobState
public final JobState jobState()
The current status of the jobs.
If the service returns an enum value that is not available in the current SDK version,
jobStatewill returnJobState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromjobStateAsString().- Returns:
- The current status of the jobs.
- See Also:
JobState
-
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,
jobStatewill returnJobState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromjobStateAsString().- Returns:
- The current status of the jobs.
- See Also:
JobState
-
jobType
public final JobType jobType()
The type of job.
If the service returns an enum value that is not available in the current SDK version,
jobTypewill returnJobType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromjobTypeAsString().- Returns:
- The type of job.
- See Also:
JobType
-
jobTypeAsString
public final String jobTypeAsString()
The type of job.
If the service returns an enum value that is not available in the current SDK version,
jobTypewill returnJobType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromjobTypeAsString().- Returns:
- The type of job.
- See Also:
JobType
-
snowballType
public final SnowballType snowballType()
The type of device used with this job.
If the service returns an enum value that is not available in the current SDK version,
snowballTypewill returnSnowballType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsnowballTypeAsString().- Returns:
- The type of device used with this job.
- See Also:
SnowballType
-
snowballTypeAsString
public final String snowballTypeAsString()
The type of device used with this job.
If the service returns an enum value that is not available in the current SDK version,
snowballTypewill returnSnowballType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsnowballTypeAsString().- Returns:
- The type of device used with this job.
- See Also:
SnowballType
-
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
S3Resourceobjects. EachS3Resourceobject represents an Amazon S3 bucket that your transferred data will be exported from or imported into.- Returns:
- An array of
S3Resourceobjects. EachS3Resourceobject 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,
snowballCapacityPreferencewill returnSnowballCapacity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsnowballCapacityPreferenceAsString().- 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,
snowballCapacityPreferencewill returnSnowballCapacity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsnowballCapacityPreferenceAsString().- 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
Notificationobject is returned as a part of the response syntax of theDescribeJobaction in theJobMetadatadata type.- Returns:
- The Amazon Simple Notification Service (Amazon SNS) notification settings associated with a specific job.
The
Notificationobject is returned as a part of the response syntax of theDescribeJobaction in theJobMetadatadata 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
JobStatevalue ofInProgress, 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
JobStatevalue ofInProgress, 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,
remoteManagementwill returnRemoteManagement.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromremoteManagementAsString().- 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,
remoteManagementwill returnRemoteManagement.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromremoteManagementAsString().- 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,
impactLevelwill returnImpactLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromimpactLevelAsString().- 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,
impactLevelwill returnImpactLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromimpactLevelAsString().- 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.
-
toBuilder
public JobMetadata.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<JobMetadata.Builder,JobMetadata>
-
builder
public static JobMetadata.Builder builder()
-
serializableBuilderClass
public static Class<? extends JobMetadata.Builder> serializableBuilderClass()
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-