@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getTranscriptionJob() == null) ? 0 : getTranscriptionJob().hashCode()); return hashCode; }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getTranscriptionJob() == null) ? 0 : getTranscriptionJob().hashCode()); return hashCode; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof GetTranscriptionJobResult == false) return false; GetTranscriptionJobResult other = (GetTranscriptionJobResult) obj; if (other.getTranscriptionJob() == null ^ this.getTranscriptionJob() == null) return false; if (other.getTranscriptionJob() != null && other.getTranscriptionJob().equals(this.getTranscriptionJob()) == false) return false; return true; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof StartTranscriptionJobResult == false) return false; StartTranscriptionJobResult other = (StartTranscriptionJobResult) obj; if (other.getTranscriptionJob() == null ^ this.getTranscriptionJob() == null) return false; if (other.getTranscriptionJob() != null && other.getTranscriptionJob().equals(this.getTranscriptionJob()) == false) return false; return true; }
/** * <p> * The name of the transcription job. * </p> * * @param transcriptionJobName * The name of the transcription job. * @return Returns a reference to this object so that method calls can be chained together. */ public TranscriptionJob withTranscriptionJobName(String transcriptionJobName) { setTranscriptionJobName(transcriptionJobName); return this; }
/** * <p> * A timestamp that shows when the job was created. * </p> * * @param creationTime * A timestamp that shows when the job was created. * @return Returns a reference to this object so that method calls can be chained together. */ public TranscriptionJob withCreationTime(java.util.Date creationTime) { setCreationTime(creationTime); return this; }
/** * <p> * The date and time that the vocabulary was updated. * </p> * * @param lastModifiedTime * The date and time that the vocabulary was updated. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateVocabularyResult withLastModifiedTime(java.util.Date lastModifiedTime) { setLastModifiedTime(lastModifiedTime); return this; }
/** * <p> * The name of the vocabulary to return. * </p> * * @param vocabularyName * The name of the vocabulary to return. * @return Returns a reference to this object so that method calls can be chained together. */ public GetVocabularyResult withVocabularyName(String vocabularyName) { setVocabularyName(vocabularyName); return this; }
/** * <p> * The name of a vocabulary to use when processing the transcription job. * </p> * * @param vocabularyName * The name of a vocabulary to use when processing the transcription job. * @return Returns a reference to this object so that method calls can be chained together. */ public Settings withVocabularyName(String vocabularyName) { setVocabularyName(vocabularyName); return this; }
/** * <p> * The sample rate, in Hertz, of the audio track in the input media file. * </p> * * @param mediaSampleRateHertz * The sample rate, in Hertz, of the audio track in the input media file. * @return Returns a reference to this object so that method calls can be chained together. */ public TranscriptionJob withMediaSampleRateHertz(Integer mediaSampleRateHertz) { setMediaSampleRateHertz(mediaSampleRateHertz); return this; }
/** * <p> * A timestamp that shows when the job was completed. * </p> * * @param completionTime * A timestamp that shows when the job was completed. * @return Returns a reference to this object so that method calls can be chained together. */ public TranscriptionJob withCompletionTime(java.util.Date completionTime) { setCompletionTime(completionTime); return this; }
/** * <p> * A timestamp that shows when the job was completed. * </p> * * @param completionTime * A timestamp that shows when the job was completed. * @return Returns a reference to this object so that method calls can be chained together. */ public TranscriptionJobSummary withCompletionTime(java.util.Date completionTime) { setCompletionTime(completionTime); return this; }
/** * <p> * The date and time that the vocabulary was created. * </p> * * @param lastModifiedTime * The date and time that the vocabulary was created. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateVocabularyResult withLastModifiedTime(java.util.Date lastModifiedTime) { setLastModifiedTime(lastModifiedTime); return this; }
/** * <p> * The name of the vocabulary that was updated. * </p> * * @param vocabularyName * The name of the vocabulary that was updated. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateVocabularyResult withVocabularyName(String vocabularyName) { setVocabularyName(vocabularyName); return this; }
/** * <p> * The date and time that the vocabulary was last modified. * </p> * * @param lastModifiedTime * The date and time that the vocabulary was last modified. * @return Returns a reference to this object so that method calls can be chained together. */ public GetVocabularyResult withLastModifiedTime(java.util.Date lastModifiedTime) { setLastModifiedTime(lastModifiedTime); return this; }
/** * <p> * An array of strings that contains the vocabulary entries. * </p> * * @param phrases * An array of strings that contains the vocabulary entries. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateVocabularyRequest withPhrases(java.util.Collection<String> phrases) { setPhrases(phrases); return this; }
/** * <p> * The name of the vocabulary to return information about. The name is case-sensitive. * </p> * * @param vocabularyName * The name of the vocabulary to return information about. The name is case-sensitive. * @return Returns a reference to this object so that method calls can be chained together. */ public GetVocabularyRequest withVocabularyName(String vocabularyName) { setVocabularyName(vocabularyName); return this; }
/** * <p> * A <code>Settings</code> object that provides optional settings for a transcription job. * </p> * * @param settings * A <code>Settings</code> object that provides optional settings for a transcription job. * @return Returns a reference to this object so that method calls can be chained together. */ public StartTranscriptionJobRequest withSettings(Settings settings) { setSettings(settings); return this; }
/** * <p> * The name of the vocabulary to delete. * </p> * * @param vocabularyName * The name of the vocabulary to delete. * @return Returns a reference to this object so that method calls can be chained together. */ public DeleteVocabularyRequest withVocabularyName(String vocabularyName) { setVocabularyName(vocabularyName); return this; }
/** * <p> * An object that describes the input media for a transcription job. * </p> * * @param media * An object that describes the input media for a transcription job. * @return Returns a reference to this object so that method calls can be chained together. */ public StartTranscriptionJobRequest withMedia(Media media) { setMedia(media); return this; }