Interface JobMetadata.Builder

    • Method Detail

      • jobId

        JobMetadata.Builder jobId​(String jobId)

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

        Parameters:
        jobId - The automatically generated ID for a job, for example JID123e4567-e89b-12d3-a456-426655440000.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • jobState

        JobMetadata.Builder jobState​(String jobState)

        The current status of the jobs.

        Parameters:
        jobState - The current status of the jobs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        JobState, JobState
      • jobState

        JobMetadata.Builder jobState​(JobState jobState)

        The current status of the jobs.

        Parameters:
        jobState - The current status of the jobs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        JobState, JobState
      • jobType

        JobMetadata.Builder jobType​(String jobType)

        The type of job.

        Parameters:
        jobType - The type of job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        JobType, JobType
      • jobType

        JobMetadata.Builder jobType​(JobType jobType)

        The type of job.

        Parameters:
        jobType - The type of job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        JobType, JobType
      • snowballType

        JobMetadata.Builder snowballType​(String snowballType)

        The type of device used with this job.

        Parameters:
        snowballType - The type of device used with this job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SnowballType, SnowballType
      • snowballType

        JobMetadata.Builder snowballType​(SnowballType snowballType)

        The type of device used with this job.

        Parameters:
        snowballType - The type of device used with this job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SnowballType, SnowballType
      • creationDate

        JobMetadata.Builder creationDate​(Instant creationDate)

        The creation date for this job.

        Parameters:
        creationDate - The creation date for this job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resources

        JobMetadata.Builder resources​(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • description

        JobMetadata.Builder description​(String description)

        The description of the job, provided at job creation.

        Parameters:
        description - The description of the job, provided at job creation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • kmsKeyARN

        JobMetadata.Builder kmsKeyARN​(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • roleARN

        JobMetadata.Builder roleARN​(String roleARN)

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

        Parameters:
        roleARN - The role ARN associated with this job. This ARN was created using the CreateRole API action in Identity and Access Management.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • addressId

        JobMetadata.Builder addressId​(String addressId)

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

        Parameters:
        addressId - The ID for the address that you want the Snow device shipped to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • shippingDetails

        JobMetadata.Builder shippingDetails​(ShippingDetails shippingDetails)

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

        Parameters:
        shippingDetails - A job's shipping information, including inbound and outbound tracking numbers and shipping speed options.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • snowballCapacityPreference

        JobMetadata.Builder snowballCapacityPreference​(String 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.

        Parameters:
        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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SnowballCapacity, SnowballCapacity
      • snowballCapacityPreference

        JobMetadata.Builder snowballCapacityPreference​(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.

        Parameters:
        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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SnowballCapacity, SnowballCapacity
      • notification

        JobMetadata.Builder notification​(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • dataTransferProgress

        JobMetadata.Builder dataTransferProgress​(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • jobLogInfo

        JobMetadata.Builder jobLogInfo​(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • jobLogInfo

        default JobMetadata.Builder jobLogInfo​(Consumer<JobLogs.Builder> 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.

        This is a convenience method that creates an instance of the JobLogs.Builder avoiding the need to create one manually via JobLogs.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to jobLogInfo(JobLogs).

        Parameters:
        jobLogInfo - a consumer that will call methods on JobLogs.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        jobLogInfo(JobLogs)
      • clusterId

        JobMetadata.Builder clusterId​(String clusterId)

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

        Parameters:
        clusterId - The 39-character ID for the cluster, for example CID123e4567-e89b-12d3-a456-426655440000.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • forwardingAddressId

        JobMetadata.Builder forwardingAddressId​(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • taxDocuments

        JobMetadata.Builder taxDocuments​(TaxDocuments taxDocuments)

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

        Parameters:
        taxDocuments - The metadata associated with the tax documents required in your Amazon Web Services Region.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deviceConfiguration

        JobMetadata.Builder deviceConfiguration​(DeviceConfiguration deviceConfiguration)
        Sets the value of the DeviceConfiguration property for this object.
        Parameters:
        deviceConfiguration - The new value for the DeviceConfiguration property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • remoteManagement

        JobMetadata.Builder remoteManagement​(String 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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RemoteManagement, RemoteManagement
      • remoteManagement

        JobMetadata.Builder remoteManagement​(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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RemoteManagement, RemoteManagement
      • longTermPricingId

        JobMetadata.Builder longTermPricingId​(String longTermPricingId)

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

        Parameters:
        longTermPricingId - The ID of the long-term pricing type for the device.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • onDeviceServiceConfiguration

        JobMetadata.Builder onDeviceServiceConfiguration​(OnDeviceServiceConfiguration onDeviceServiceConfiguration)

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

        Parameters:
        onDeviceServiceConfiguration - Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • impactLevel

        JobMetadata.Builder impactLevel​(String impactLevel)

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

        Parameters:
        impactLevel - The highest impact level of data that will be stored or processed on the device, provided at job creation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ImpactLevel, ImpactLevel
      • impactLevel

        JobMetadata.Builder impactLevel​(ImpactLevel impactLevel)

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

        Parameters:
        impactLevel - The highest impact level of data that will be stored or processed on the device, provided at job creation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ImpactLevel, ImpactLevel
      • pickupDetails

        JobMetadata.Builder pickupDetails​(PickupDetails pickupDetails)

        Information identifying the person picking up the device.

        Parameters:
        pickupDetails - Information identifying the person picking up the device.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • snowballId

        JobMetadata.Builder snowballId​(String snowballId)

        Unique ID associated with a device.

        Parameters:
        snowballId - Unique ID associated with a device.
        Returns:
        Returns a reference to this object so that method calls can be chained together.