@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getRepository() == null) ? 0 : getRepository().hashCode()); return hashCode; }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getRepository() == null) ? 0 : getRepository().hashCode()); return hashCode; }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getRegistryId() == null) ? 0 : getRegistryId().hashCode()); hashCode = prime * hashCode + ((getRepositoryName() == null) ? 0 : getRepositoryName().hashCode()); hashCode = prime * hashCode + ((getImageId() == null) ? 0 : getImageId().hashCode()); hashCode = prime * hashCode + ((getImageManifest() == null) ? 0 : getImageManifest().hashCode()); return hashCode; }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getImageId() == null) ? 0 : getImageId().hashCode()); hashCode = prime * hashCode + ((getFailureCode() == null) ? 0 : getFailureCode().hashCode()); hashCode = prime * hashCode + ((getFailureReason() == null) ? 0 : getFailureReason().hashCode()); return hashCode; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof PutImageResult == false) return false; PutImageResult other = (PutImageResult) obj; if (other.getImage() == null ^ this.getImage() == null) return false; if (other.getImage() != null && other.getImage().equals(this.getImage()) == false) return false; return true; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof CreateRepositoryResult == false) return false; CreateRepositoryResult other = (CreateRepositoryResult) obj; if (other.getRepository() == null ^ this.getRepository() == null) return false; if (other.getRepository() != null && other.getRepository().equals(this.getRepository()) == false) return false; return true; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DeleteRepositoryResult == false) return false; DeleteRepositoryResult other = (DeleteRepositoryResult) obj; if (other.getRepository() == null ^ this.getRepository() == null) return false; if (other.getRepository() != null && other.getRepository().equals(this.getRepository()) == false) return false; return true; }
/** * <p> * The code associated with the failure. * </p> * * @param failureCode * The code associated with the failure. * @see ImageFailureCode */ public void setFailureCode(ImageFailureCode failureCode) { withFailureCode(failureCode); }
/** * <p> * The availability status of the image layer. * </p> * * @param layerAvailability * The availability status of the image layer. * @see LayerAvailability */ public void setLayerAvailability(LayerAvailability layerAvailability) { withLayerAvailability(layerAvailability); }
/** * <p> * The failure code associated with the failure. * </p> * * @param failureCode * The failure code associated with the failure. * @see LayerFailureCode */ public void setFailureCode(LayerFailureCode failureCode) { withFailureCode(failureCode); }
/** * <p/> * * @param tags * @return Returns a reference to this object so that method calls can be chained together. */ public CreateRepositoryRequest withTags(java.util.Collection<Tag> tags) { setTags(tags); return this; }
/** * <p> * The registry ID associated with the request. * </p> * * @param registryId * The registry ID associated with the request. * @return Returns a reference to this object so that method calls can be chained together. */ public DeleteLifecyclePolicyResult withRegistryId(String registryId) { setRegistryId(registryId); return this; }
/** * <p> * Any failures associated with the call. * </p> * * @param failures * Any failures associated with the call. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchDeleteImageResult withFailures(java.util.Collection<ImageFailure> failures) { setFailures(failures); return this; }
/** * <p> * A list of image layer objects corresponding to the image layer references in the request. * </p> * * @param layers * A list of image layer objects corresponding to the image layer references in the request. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchCheckLayerAvailabilityResult withLayers(java.util.Collection<Layer> layers) { setLayers(layers); return this; }
/** * <p> * The name of the repository that is associated with the image layer to download. * </p> * * @param repositoryName * The name of the repository that is associated with the image layer to download. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDownloadUrlForLayerRequest withRepositoryName(String repositoryName) { setRepositoryName(repositoryName); return this; }
/** * <p> * The digest of the image layer to download. * </p> * * @param layerDigest * The digest of the image layer to download. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDownloadUrlForLayerRequest withLayerDigest(String layerDigest) { setLayerDigest(layerDigest); return this; }
/** * <p> * An optional parameter that filters results based on image tag status and all tags, if tagged. * </p> * * @param filter * An optional parameter that filters results based on image tag status and all tags, if tagged. * @return Returns a reference to this object so that method calls can be chained together. */ public GetLifecyclePolicyPreviewRequest withFilter(LifecyclePolicyPreviewFilter filter) { setFilter(filter); return this; }
/** * <p> * The JSON repository policy that was deleted from the repository. * </p> * * @param policyText * The JSON repository policy that was deleted from the repository. * @return Returns a reference to this object so that method calls can be chained together. */ public DeleteRepositoryPolicyResult withPolicyText(String policyText) { setPolicyText(policyText); return this; }
/** * <p> * The repository that was deleted. * </p> * * @param repository * The repository that was deleted. * @return Returns a reference to this object so that method calls can be chained together. */ public DeleteRepositoryResult withRepository(Repository repository) { setRepository(repository); return this; }