Provides options for defining a job.
protected override JobParameters getJobParameters() { JobParameters jp = new JobParameters(); jp.Description = "Inventory Retrieval Job " + DateTime.Now; jp.SNSTopic = Mapping.NotificationTopicARN; jp.Type = "inventory-retrieval"; return jp; }
protected override JobParameters getJobParameters() { JobParameters jp = new JobParameters(); jp.ArchiveId = ArchiveId; jp.Description = "Archive Retrieval Job " + DateTime.Now + "-" + ArchiveId; jp.SNSTopic = Mapping.NotificationTopicARN; jp.Type = "archive-retrieval"; return jp; }
public InitiateJobRequest WithJobParameters(JobParameters jobParameters) { this.jobParameters = jobParameters; return this; }
/// <summary> /// Instantiates InitiateJobRequest with the parameterized properties /// </summary> /// <param name="accountId">The <code>AccountId</code> value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '<code>-</code>' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID.</param> /// <param name="vaultName">The name of the vault.</param> /// <param name="jobParameters">Provides options for specifying job information.</param> public InitiateJobRequest(string accountId, string vaultName, JobParameters jobParameters) { _accountId = accountId; _vaultName = vaultName; _jobParameters = jobParameters; }
/// <summary> /// Instantiates InitiateJobRequest with the parameterized properties /// </summary> /// <param name="vaultName">The name of the vault.</param> /// <param name="jobParameters">Provides options for specifying job information.</param> public InitiateJobRequest(string vaultName, JobParameters jobParameters) { _vaultName = vaultName; _jobParameters = jobParameters; }
/// <summary> /// Sets the JobParameters property /// </summary> /// <param name="jobParameters">The value to set for the JobParameters property </param> /// <returns>this instance</returns> public InitiateJobRequest WithJobParameters(JobParameters jobParameters) { this.jobParameters = jobParameters; return(this); }